On Tue, Apr 09, 2013 at 10:42:56AM +0200, Michael wrote: > Hi, > Hi, > I noticed some weird behavior regarding the "From:" header when > using smtpd under some circumstances, not sure if this is a bug. > > [...] > > The problem: > Mails generated on server 2 (some.thing.example.com) from /etc/daily > or anything else that go to root get forwarded properly to server 1, > but the From: header gets rewritten to r...@mail.domain.tld. > Normally I would expect the From: header to be > r...@some.thing.example.com. When using sendmail instead of smtpd on > server 2 as well, that is the case. > > Ideas? Suggestions? >
smtpd doesn't support address rewriting at the moment. It will either use the local `hostname` or the one supplied by your MUA. -- Gilles Chehade https://www.poolp.org @poolpOrg