On Tue, 10 Mar 2009 10:36:25 -0400 (EDT)
wie...@porcupine.org (Wietse Venema) wrote:

> This may very well be a Debian bug where they run daemons chrooted
> but don't provide the correct timezone file inside the jail.

Just for reference, the postfix 2.5.5-1.1 package in Debian -- if any
services in master.cf are chrooted -- copies the following files into
the chroot:

/etc/ssl/certs/ca-certificates.crt (if smtpd?_use_tls = yes)
/etc/passwd (if local_recipient_maps contains (proxy:)?unix:passwd.byname)
/etc/localtime
/etc/services
/etc/resolv.conf
/etc/hosts
/etc/nsswitch.conf
/etc/nss_mdns.config
/usr/lib/zoneinfo/localtime (plus a symlink to this file in /etc)
/lib/libnss_*so*

I've dropped the full init script into http://www.themuffin.net/j/tmp/postfix 
if you care about the details.

FWIW, my test system uses the system-wide timezone (US/Central) in the output 
from mailq and the timezone from $TZ (US/Eastern) for the output from postcat.  
This is, IMO, the correct behavior.

>       Wietse

-- 
Ben Winslow <winsl...@pa.net>

Reply via email to