Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Sep 2004 11:12:44 +0930
From:      Malcolm Kay <malcolm.kay@internode.on.net>
To:        cscott@speakeasy.net, freebsd-questions@freebsd.org
Subject:   Re: incorrect time from sendmail (FBSD 5.3)
Message-ID:  <200409111112.44554.malcolm.kay@internode.on.net>
In-Reply-To: <W899706779229981094790421@webmail3>
References:  <W899706779229981094790421@webmail3>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 10 Sep 2004 01:57 pm, cscott@speakeasy.net wrote:
> Hi,
>
> I can not get sendmail to use the correct timezone on my system. The
> timezone is set via tzsetup to PDT (localtime).  /etc/localtime exists. The
> system reports the correct time everywhere. The problem is that sendmail
> insists on using UTC. I have tried setting the cmos time to UTC, then
> configuring the timezone (via tzsetup) as PDT but having the cmos set to
> UTC. Sendmail still does not make the appropriate adjustment when creating
> it's header:
>
> Received: from xxx.xxx.xxx.xxx (unverified [xxx.xxx.xxx.xxx])
>           by webmail2 (VisualMail 4.0)
>           with WEBMAIL id 2294;
>           Fri, 10 Sep 2004 04:18:41 +0000
> From: whoever@whereever.com
>
> The sendmail .cf file is set to USE_TZ (default).  I have dug through
> newsgroups, faqs, howto, etc. and I can't find what is wrong. Is this a bug
> in 5.3 ?
>

I believe this may be your problem. My understanding is the USE_TZ is for use
with systems which set time zone using a TZ environment variable. 
I believe you need USE_SYSTEM.
(however I'm not a "sendmail" expert <or even apprentice>)

Malcolm



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409111112.44554.malcolm.kay>