Op donderdag 23 juni 2005 10:28, schreef Jan Callewaert: > Op woensdag 22 juni 2005 22:24, schreef Bryan Whitehead: > > Try restarting postfix. If you changed your timezone, clock, etc at any > > point without restarting postfix different parts will have different > > times. > > > > Might want to restart cron while your at it... ;) > > The problem stays even after restarting my computer (it goes to sleep at > night :D) So I don't think that's the problem. I haven't recently changed > my timezone or clock lately. > I googled a bit, and apparently the qmgr daemon of postfix runs in a > chroot. Maybe the chroot is not aware of the timezone? > > Regards, > > Jan >
I'm afraid that I replied too fast. I searched google just a little more. qmgr runs inside a chroot in /var/spool/postfix. So I copied my /etc/localtime into the chroot (I had to create the /etc directory). I restarted postfix and the log time was correct. However, is this the way to do it? Since it's a chroot, I can't make a symlink, so whenever I change my timezone, I have to change it in two different places. I'm sure I'm going to forget this. Is there no other way? Jan > > On Sat, 18 Jun 2005, Jan Callewaert wrote: > > > Hi, > > > if I watch the logs of postfix, I have different times in it. > > > > > > Jun 18 19:17:43 [postfix/qmgr] 1E365EDCC3: from=<bla>, size=4398, > > > nrcpt=1 (queue active) > > > Jun 18 21:17:44 [postfix/local] 1E365EDCC3: > > > to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>, > > > relay=local, delay=1, status=sent (delivered to command: procmail) > > > Jun 18 19:17:44 [postfix/qmgr] 1E365EDCC3: removed > > > Jun 18 21:17:48 [postfix/smtpd] disconnect from localhost[127.0.0.1] > > > > > > this is at 21:18. Date displays the correct hour. Any idea what is > > > causing this? Only [postfix/qmgr] is showing the wrong time, the rest > > > is correct. > > > > > > Regards, > > > > > > Jan Callewaert > > > > -- > > Bryan Whitehead > > Email:[EMAIL PROTECTED] -- If it ain't broken, you just haven't looked hard enough. Fix it anyway. -- Tom Peters
pgpCxYEgQiLuH.pgp
Description: PGP signature