Sendmail doesn't obey .forward files?
I am seeing a strange behavior with sendmail, maybe I am missing something?
First, sendmail doesn't understand the local machine's own hostname,
despite it being in /etc/mail/local-host-names
It tries to open an external connection to the local mail anyway (and
fails since the inbound port isn't open).
Secondly it doesn't see/obey the .forward file for root, again it's trying
to contact it's own machine without realizing it could handle the whole
process by just looking at the aliases inside /root/.forward
I solved this by just adding the .forward contents for root to
/etc/newaliases and running newaliases
But it bothers me it didn't just figure it out both the localhost and the
root .forward and now there are two places to maintain the addresses.
Are these sendmail limitations? Is it considered outdated? Should I be
using postfix instead?
No comments:
Post a Comment