HostOnNet Blog

qmail and root email forwarding

Looking for Linux Server Admin or WordPress Expert? We can help.

sendmail forwards email for user root to any email address specified in /root/.forward file.

After installing qmail, i stoped getting these emails. I found that, the .forward is a sendmail file and will not work with default qmail installation. To get it working, there is some .forward patch available.

I descided not to install this .forward patch, i don’t want to stick to sendmail, lets follow the qmail way.

In qmail root can’t recive email’s. You can forward emails for root to another user or email account. You can specify this in

/var/qmail/alias/.qmail-root

freebsd# cat /var/qmail/alias/.qmail-root
[email protected]
freebsd#

Now all emails for the user root will get forwarded to email address [email protected]

Posted in Uncategorized. Bookmark the permalink.

One Response to qmail and root email forwarding

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.