From owner-freebsd-questions@FreeBSD.ORG Sat Sep 11 01:42:35 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D547D16A4CE for ; Sat, 11 Sep 2004 01:42:35 +0000 (GMT) Received: from smtp3.adl2.internode.on.net (smtp3.adl2.internode.on.net [203.16.214.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27D5D43D46 for ; Sat, 11 Sep 2004 01:42:35 +0000 (GMT) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp137-243.lns1.adl2.internode.on.net [150.101.137.243])i8B1gWHY058883; Sat, 11 Sep 2004 11:12:33 +0930 (CST) From: Malcolm Kay Organization: at home To: cscott@speakeasy.net, freebsd-questions@freebsd.org Date: Sat, 11 Sep 2004 11:12:44 +0930 User-Agent: KMail/1.5.4 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200409111112.44554.malcolm.kay@internode.on.net> Subject: Re: incorrect time from sendmail (FBSD 5.3) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Sep 2004 01:42:36 -0000 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 ) Malcolm