Hi,
I noticed some weird behavior regarding the "From:" header when using
smtpd under some circumstances, not sure if this is a bug.
The setup:
1.) Main mail server with sendmail hostname mail.domain.tld and
local-host-names containing domain example.com.
2.) A second server with hostname some.thing.example.com and running
smtpd, root mails are forwarded using aliases to recipi...@example.com.
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?
Thanks,
Michael