"Rick Updegrove" <[EMAIL PROTECTED]> wrote:

>I am getting this message "You have new mail in /var/mail/root" every day on 
>my new OpenBSD 2.8 machines running qmail.

And are messages actually being delivered to /var/mail/root? If so,
then you probably haven't replaced /usr/lib/sendmail (and/or
/usr/sbin/sendmail) with a link to /var/qmail/bin/sendmail.

>I want all of that mail to go to 
>either to a remote host or to a local Maildir depending on the
>machine.

Root mail is usually handled by ~alias/.qmail-root. If you want it
forwarded remotely, use:

   &[EMAIL PROTECTED]

If you want it delivered to a local Maildir, forward it to local user
whose mail goes to a maildir:

   &user

Where ~user/.qmail contains:

   ./Maildir/

Or, even better, use an extension address in .qmail-root:

   &user-root

And create ~user/.qmail-root to save the root mail in a separate
maildir:

   ./Mail/root/

-Dave

Reply via email to