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]
One Response to qmail and root email forwarding