hostname masquerading uses /etc/hosts

Carl Wilhelm Soderstrom <[email protected]> Mon, 4 Dec 2006 16:43:21 -0600
Newsgroups gmane.mail.nullmailer
Message-ID <[email protected]>
Someone wrote about this a while ago, and I finally found the problem.

if /etc/hosts has an entry for the local machine, i.e. 
192.168.1.1	workstation.int.mydomain.tld

then no matter what you put in /etc/nullmailer/me, mail will always appear
to come from @workstation.int.mydomain.tld. This contradicts what the
documentation indicates in http://untroubled.org/nullmailer/HOWTO

It would be best if nullmailer did not consult /etc/hosts if
/etc/nullmailer/me exists and has meaningful content.

-- 
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com