On Sat, Jan 10, 2009 at 10:20:38AM +0100, Elimar Riesebieter wrote: > * root [090109 09:04 -0800] > > How can I get 'root' out of the 'From:' line of root's offsite mail? > > I've scanned the docs for exim4, mutt and mailx on this Debian > > etch(mostly) system but nothing found so far. > > I know I can send mail as another user but would rather > > find a solution that doesn't necessitate that. > > I tried Google but found no answer there. > > echo "root: 'your username' >> /etc/aliases. > > In that case sendmailbased MTA's like exim sends root's mails to > 'your username'.
This does not rewrite the From header or Sender SMTP header on outgoing messages. I don't see any exim users replying (on postfix I'd use sender_cannonical). /etc/exim4/conf.d/rewrite/31_exim4-config_rewriting looks promising, but I can't help further. -- Tzafrir Cohen | [email protected] | VIM is http://tzafrir.org.il | | a Mutt's [email protected] | | best ICQ# 16849754 | | friend -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

