[Dovecot] dovecot logs to audit.log not to maillog
Timo Sirainen
tss at iki.fi
Wed Feb 11 02:38:30 EET 2009
On Tue, 2009-02-10 at 09:07 +0100, Ralf Heidenreich wrote:
> Hello,
>
> here is my dovecot.conf
> ------snip----------
> log_path = /var/log/maillog
> info_log_path = /var/log/maillog
> -------snip-------------
> Is it possible, than logrotate rotates the maillog, and dovecot wants to
> write to it, if the maillog is not available at the moment, dovecot
> writes to audit.log?
No, that's not possible. With the above configuration Dovecot logs only
to /var/log/maillog and if it can't do that it dies. If you don't send
USR1 or HUP to Dovecot after log rotation, Dovecot simply continues
writing to the old rotated log file (maillog.1 or whatever).
Of course if for some weird reason your log rotation rotates maillog to
audit.log that would explain it..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090210/71c636eb/attachment.bin
More information about the dovecot
mailing list