Carl Wilhelm Soderstrom | 4 Dec 23:43 2006

hostname masquerading uses /etc/hosts

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  <at> 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
Carl Wilhelm Soderstrom | 4 Dec 23:59 2006

Re: hostname masquerading uses /etc/hosts

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  <at> 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
John Coy | 15 Dec 20:22 2006
Picon

timezone/daylight savings time problem on solaris 2.6

There is a possible problem with nullmailer 1.03 and the handling of 
timezone or daylight savings time (not sure which) on Solaris (Sparc) 2.6

Included below are headers of a message sent at 1:13pm central 
(-0500).  The Date: header is correct but I think that is supplied by 
the e-mail client (using the UNIX command-line "mail johncoy <at> anc.net" 
for this test).  However, the Received: (nullmailer...) header has 
the wrong time.

13:11:40 -0500 should be 18:11:40 -0000

I verified my /etc/TIMEZONE file shows US/Central and that is the 
correct off-set (-0500) for daylight savings time.

Looks to me like nullmailer is not properly calculating daylight 
savings time and is instead using -0600 as the timezone offset for US/Central

--

Return-Path: <root <at> oracle.arkansas.net>
Delivered-To: johncoy <at> arkansas.net
Received: (qmail 29260 invoked by alias); 15 Dec 2006 19:11:40 -0000
Delivered-To: alias-johncoy <at> anc.net
Received: (qmail 29255 invoked from network); 15 Dec 2006 19:11:40 -0000
Received: from oracle.anc.net (216.152.25.100)
   by arkansas.net with SMTP; 15 Dec 2006 19:11:40 -0000
Received: (nullmailer pid 3626 invoked by uid 0);
	Fri, 15 Dec 2006 19:11:40 -0000
To: johncoy <at> anc.net
Subject: test at 1:13pm
(Continue reading)


Gmane