Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2003 09:53:27 -0700
From:      Ted Cabeen <secabeen@pobox.com>
To:        "Scott Muller" <smuller@netcommplete.com.au>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: postfix and syslogd
Message-ID:  <8765jsznco.fsf@gray.impulse.net>
In-Reply-To: <021101c37be8$81690b40$6564a8c0@netcommplete.lan> (Scott Muller's message of "Tue, 16 Sep 2003 10:21:42 %2B1000")
References:  <021101c37be8$81690b40$6564a8c0@netcommplete.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
"Scott Muller" <smuller@netcommplete.com.au> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8765jsznco.fsf>