I wouldn't assume this to be a unique task.. but Google is of no help..
I have a ubuntu server doing stuff, and sometimes it fires off an email to root.
I have exim configured to relay through a local "smarthost" so some emails with a real address actually go somewhere.
And emails "from" root get translated to "from" the proper address...
But if some automated task just emails root it gets sent to some non-existing account (root doesn't exist on the email server).
$ exim -brw root sender: haxcess@mydomain.ca from: haxcess@mydomain.ca to: root@mydomain.ca cc: root@mydomain.ca bcc: root@mydomain.ca reply-to: haxcess@mydomain.ca env-from: haxcess@mydomain.ca env-to: root@mydomain.ca
How can I make it so that mail to root or postmaster actually go to another address?
My aliases and email-addresses file are correct... Somehow exim is just not referencing them properly.
/etc/email-addresses
#user: someone@isp.com #otheruser: someoneelse@anotherisp.com root: haxcess@mydomain.ca haxcess: haxcess@mydomain.ca root@mydomain.ca: haxcess@mydomain.ca
[link][14 comments]