Integrating Mail Hail, ZMailer, & Hailbox

Instructions for integrating Mail Hail with ZMailer and Hailbox are provided here. Your success may vary with other programs.

ZMailer consists of three daemons: the Router, the Scheduler, and the Smtpserver. Only the Scheduler is relevant to the operation of Mail Hail. The Scheduler delegates all mail delivery to ZMailer's transport agents. The default transport agent for local delivery is Mailbox. ZMailer provides a Sendmail compatible transport agent called Sm, which can be configured to invoke Hailbox. Hailbox can in turn invoke Mail Hail.

You will want to stop the ZMailer daemons before changing their configuration files.

In $MAILSHARE/sm.conf you will find several sample mailer definitions, including a local mailer. Add the following line below the local mailer:

hailbox	-	/usr/local/sbin/hailbox		hailbox $u

This defines an Sm mailer for Hailbox. The Scheduler must be instructed to use this mailer on the local channel.

In $MAILSHARE/scheduler.conf you will find a section marked


This section controls delivery to local mailboxes. Comment out the line reading

#command="mailbox -8"

and add the following line below it:

command="sm -8c $channel hailbox"

ZMailer is now configured to use Hailbox for local delivery. You can safely restart the ZMailer daemons once Hailbox and Mail Hail are configured. See the associated instructions for details.

Once Hailbox is configured to use Mail Hail as its notification agent, Mail Hail is integrated into the mail system. Users receive an instant message as notification for each E-Mail message that arrives. Depending on the features of the associated instant messaging service, the notification may be stored as an offline message if a user is not connected.