Re: [Dovecot] BUG REPORT - Stops logging after sleep

2007-09-08 Thread Timo Sirainen
On Sat, 2007-09-08 at 12:36 -0400, Bill Cole wrote: The only way a program could know of the failure would be to trace the syslog configuration and look for whether messages are appearing, then take action (probably calling closelog() and openlog()) as needed. I already sent a patch that

Re: [Dovecot] BUG REPORT - Stops logging after sleep

2007-05-11 Thread Bruce Bodger
Please disregard the below reported bug report. I experienced the same problem today and this time sleep was not involved. I rotate mail.log weekly. This morning I noticed that dovecot was no longer logging to mail.log although, again, it was running fine. Is it possible that dovecot has

Re: [Dovecot] BUG REPORT - Stops logging after sleep

2007-05-11 Thread Bruce Bodger
It appears as though dovecot doesn't like syslogd being restarted. My system.log is rotated nightly followed by a pretty standard syslogd restart... if [ -f /var/run/syslog.pid ]; then kill -HUP $(cat /var/run/ syslog.pid | head -1); It appears from that point on dovecot no longer writes

Re: [Dovecot] BUG REPORT - Stops logging after sleep

2007-05-11 Thread Bruce Bodger
Thank you very much, Charles. I have resorted to that workaround (restarting dovecot) which does, indeed, work. I just wanted to document the situation since dovecot's behavior in this regard is unlike other imap servers. Best regards, Bruce On May 11, 2007, at 8:27 AM, Charles Marcus

Re: [Dovecot] BUG REPORT - Stops logging after sleep

2007-05-11 Thread Charles Marcus
Bruce Bodger wrote: It appears as though dovecot doesn't like syslogd being restarted. Hmmm... could this possibly be a fix, or at least a workaround? www.dovecot.org/list/dovecot/2004-November/005219.html -- Best regards, Charles

Re: [Dovecot] BUG REPORT - Stops logging after sleep

2007-05-11 Thread Charles Marcus
Bruce Bodger wrote: Thank you very much, Charles. I have resorted to that workaround (restarting dovecot) which does, indeed, work. I just wanted to document the situation since dovecot's behavior in this regard is unlike other imap servers. This thread mentioned only sending an HUP - or

Re: [Dovecot] BUG REPORT - Stops logging after sleep

2007-05-11 Thread Bill Cole
At 7:04 AM -0400 5/11/07, Bruce Bodger imposed structure on a stream of electrons, yielding: It appears as though dovecot doesn't like syslogd being restarted. That's probably not it. The whole point of syslog is for individual message sources (e.g. dovecot) to not have to worry about where

Re: [Dovecot] BUG REPORT - Stops logging after sleep

2007-05-11 Thread Bruce Bodger
Applied the patch, recompiled v1.1.0 using same line to config as before.. ./configure --with-ssldir=/System/Library/OpenSSL --with-ssl=openssl Sorry... no change: does not fix it. Regards, Bruce On May 11, 2007, at 10:24 AM, Timo Sirainen wrote: On Fri, 2007-05-11 at 09:26 -0400, Bruce

Re: [Dovecot] BUG REPORT - Stops logging after sleep

2007-05-11 Thread Timo Sirainen
On Fri, 2007-05-11 at 10:57 -0400, Bruce Bodger wrote: Applied the patch, recompiled v1.1.0 using same line to config as before.. ./configure --with-ssldir=/System/Library/OpenSSL --with-ssl=openssl Sorry... no change: does not fix it. In that case there's nothing I can do. You'll just

[Dovecot] BUG REPORT - Stops logging after sleep

2007-05-10 Thread Bruce Bodger
Version: dovecot --version: 1.0.0 OS: OS X - 10.4.9 Architecture: G5 Dual/1.8Ghz Had a fairly normal time correction last night: May 9 20:56:56 G518X2 ntpd[219]: time set -1.212733 s Which dovecot duly noted: May 9 20:56:56 G518X2 dovecot: auth(default): Time just moved backwards by 1