[Dovecot] "doveadm log reopen" don't reopen separate lmtp log

Timo Sirainen tss at iki.fi
Tue Oct 18 20:57:25 EEST 2011

On 18.10.2011, at 20.53, Henrik Larsson wrote:

>> The problem isn't lmtp itself, it's that you're using -L parameter, which causes LMTP processes to open the log files directly.
> Just to be sure, isn't this the only way to have a separate LMTP log files?

Yes. But this isn't LMTP-specific in any way. It's the same as if you wanted separate IMAP or POP3 or whatever log files. The only special cases are programs that are executed directly instead of via dovecot master process (dovecot-lda, doveadm basically), because they always open the log files directly (and die once they're finished, so they don't have the rotation problem).

Hmm. Actually you could probably set service_count=1 for lmtp service and it would get rotated soon enough, because the process would die after handling one LMTP connection.

More information about the dovecot mailing list