[2009-07-07 11:28] Ove Kaaven <o...@arcticnet.no> > > After logrotate has rotated /var/log/masqmail/masqmail.log, it appears that > at most one more event is logged (i.e., 3 lines in the case of an e-mail > transmission). After that, further activity is logged to /dev/null. > As far as I can tell, e-mail delivery still works, it's just not logged.
I can confirm that this bug exists. Actually it is not directly related to logrotate. The SIGHUP handler in masqmail is broken and logrotate sends (indirectly via masqmail's init script) a SIGHUP to masqmail. Thus logging stops also if you simply send SIGHUP. The reason why still some messages are logged is such: If you submit mail into the system by calling `sendmail', then a new instance gets started and this one does log. This instance is independent to the daemon which stopped logging. Currently I can't tell why the daemon does not restart logging. (On SIGHUP it closes all open fds and exec()s itself again.) I'll dig deeper in this. meillo -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org