From owner-freebsd-isp@FreeBSD.ORG Tue Sep 16 09:53:29 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CA2716A4B3 for ; Tue, 16 Sep 2003 09:53:29 -0700 (PDT) Received: from gray.impulse.net (gray.impulse.net [207.154.64.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id B529043F3F for ; Tue, 16 Sep 2003 09:53:28 -0700 (PDT) (envelope-from secabeen@pobox.com) Received: by gray.impulse.net (Postfix, from userid 1000) id ECBE42CC; Tue, 16 Sep 2003 09:53:27 -0700 (PDT) To: "Scott Muller" References: <021101c37be8$81690b40$6564a8c0@netcommplete.lan> From: Ted Cabeen Date: Tue, 16 Sep 2003 09:53:27 -0700 In-Reply-To: <021101c37be8$81690b40$6564a8c0@netcommplete.lan> (Scott Muller's message of "Tue, 16 Sep 2003 10:21:42 +1000") Message-ID: <8765jsznco.fsf@gray.impulse.net> User-Agent: Gnus/5.1001 (Gnus v5.10.1) XEmacs/21.4 (Portable Code, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-isp@freebsd.org Subject: Re: postfix and syslogd X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2003 16:53:29 -0000 "Scott Muller" writes: >> Today I upgraded to postfix 2.0.14. I was testing something >> and I notice one thing which I don't know what is the couse. >> Here is the part from syslogd, part 1 - the attachment is >> rejected, part 2 same email same time I try to send , but I >> removed attachment from mail. My question is - maybe somebody >> has an idea why in first case cleanup process logs in syslogd >> with -2 hours difference ? ( my timezone +2 ), and after same >> process already logs with correct time ? >> > > Just a guess but you are probably running postfix chroot'd. > Check the chroot column in master.cf and if you are running some processes > Chroot'd then you need to make sure all the relevant files are sync'd in the > Chrrot jail. I don't run choot, but you nedd to check the sample-* files and > The readme files. I think you need to copy the localtime file from /etc but > I would check the docs. Yep, you need /etc/localtime in your chroot. You also will want to add a syslog log socket in your chroot as well. The logs in your original message are missing the data from the qmgr process, which provides message size and other useful data. The chroot for postfix is to the spool directory, so you'll probably want to put localtime in /var/spool/postfix/etc and add a -l /var/spool/postfix/dev/log to your syslogd_flags. -- Ted Cabeen http://www.pobox.com/~secabeen ted@impulse.net Check Website or Keyserver for PGP/GPG Key BA0349D2 secabeen@pobox.com "I have taken all knowledge to be my province." -F. Bacon secabeen@cabeen.org "Human kind cannot bear very much reality."-T.S.Eliot cabeen@netcom.com