8

Get postfix to forward root's mail

view full story
linux-howto

http://stackoverflow.com – I have an Ubuntu server running postfix. It is not the mail server for my domain. Whenever a cron job runs for root, the output is sent to root@mydomain.com (that is, mail is not delivered locally, but sent to mydomain.com's mail server). I want mail for root to be forwarded to anothermail@anotherdomain.com, and I've tried modifying both ~root/.forward and /etc/aliases (and running newaliases), but nothing helps. Mail still gets sent to root@mydomain.com. What can I do? (HowTos)