Re: hostname masquerading uses /etc/hosts

Carl Wilhelm Soderstrom <[email protected]> Mon, 4 Dec 2006 16:59:45 -0600
Newsgroups gmane.mail.nullmailer
Message-ID <[email protected]>
On 12/04 04:43 , Carl Wilhelm Soderstrom wrote:
> 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.

nevermind. I could be completely off-base here. It's an old version of
nullmailer on this machine anyway and the bug might be fixed in a newer
version.

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