--- On Tue, 3/10/09, Glen B <batch...@bellsouth.net> wrote: > From: Glen B <batch...@bellsouth.net> > Subject: Re: v2.5.5 showq and postcat date/time stamp discrepancy > To: "Wietse Venema" <wie...@porcupine.org> > Date: Tuesday, March 10, 2009, 1:16 PM > > > >--- On Tue, 3/10/09, Wietse Venema > <wie...@porcupine.org> wrote: > > > >From: Wietse Venema <wie...@porcupine.org> > >Subject: Re: v2.5.5 showq and postcat date/time stamp > discrepancy > >To: "Glen B" <batch...@bellsouth.net> > >Cc: postfix-users@postfix.org > >Date: Tuesday, March 10, 2009, 10:36 AM > > > >Glen B: > >> ? > >> ? I'm running the commands from a SSH shell > logged in as root. What do > >you mean by setuid wrapper? > >> ? > > > >Type the following commands, and report the output: > > > >$ date > >$ mailq | grep DBBAD4A340AD > >$ date > > > >This may very well be a Debian bug where they run > daemons chrooted > >but don't provide the correct timezone file inside > the jail. > > > Wietse, > > box:/# date > Tue Mar 10 12:38:51 EDT 2009 > box:/# mailq | grep DBBAD4A340AD > postqueue: warning: Mail system is down -- accessing queue > directly > DBBAD4A340AD 827 Mon Mar 9 10:29:27 root > box:/# date > Tue Mar 10 12:39:03 EDT 2009 > box:/# > > I think you are correct, but I've not had any luck > getting postcat to report based on zoneinfo in the chroot or > outside of a chroot. Mailq seems to work correctly > regardless. > > I've copied zoneinfo files respective to the root path, > /etc/localtime, and /etc/timezone into the chroot. I also > tried disabling chroot for showq in master.cf, > restarting/stopping postfix, and then submitting a new > message offline. The same date/time issue still appears to > happen. > > I've seen that the code should be reporting the same > date/time. Is there another service that I should remove the > chroot from for testing this? > > The following services are currently not chrooted: > > smtpd, qmgr, proxymap, showq, local, virtual, maildrop, > uucp > > > GlenB
Here's a copy of my response that didn't originally go to the list.