8

Get postfix to forward root's mail

view full story
linux-howto

http://serverfault.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 mail is not delivered locally, instead it gets sent to [email protected] via the main mail server. This is not what I want. I want mail for root to either be delivered locally or forwarded to [email protected] I've tried modifying both ~root/.forward and /etc/aliases (and running newaliases), but nothing helps (I guess these files are only checked when postfix tries to deliver mail locally). What can I do? This is /etc/postfix/main.cf: smtpd_banner (HowTos)