Quote:
Originally Posted by tdnnash25
I have a couple debian servers using exim4 as their mta. When mail is sent, the from address is just 'root'. I want the from to say 'host1@domain.com', and 'host2@domain.com', where host is the hostname and domain is my domain.
Make sense? I can't seem to get this to behave the way I want it to.
|
Actually what I was after was changing the header of the email, not the actual From address. So, I found out how. Edit /etc/email-addresses and add this line, save, and voila:
root: root@servername
No need to restart exim4
Just thought I'd post this in case anyone else was interested.