qmail and root email forwarding

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@net-N-O-S-O-A-M-freehost.com
freebsd#

Now all emails for the user root will get forwarded to email address email@net-N-O-S-O-A-M-freehost.com


Posted in Uncategorized. Bookmark the permalink.

  • Paulo

    Hi, thanks! I solved my problem with your help 🙂