[Dovecot] LDA null logging patch
I don't really need logging of successful local deliveries since the MTA provides enough data. I can't get rid of LDA delivery logs by setting deliver_log_format = All this does is produce an empty log message e.g. Apr 16 01:22:05 dserver dovecot: lda(user): Timo, would you consider inclusion of this patch which will skip logging deliveries if deliver_log_format is empty: --- src/lib-lda/mail-deliver.c~ Sat Apr 16 01:27:23 2011 +++ src/lib-lda/mail-deliver.c Sat Apr 16 01:29:05 2011 @@ -100,2 +100,5 @@ + if (!(ctx->set->deliver_log_format) || !(*ctx->set->deliver_log_format)) + return; + va_start(args, fmt); Joseph Tam <jtam.home@gmail.com>
On Sat, 2011-04-16 at 03:04 -0700, Joseph Tam wrote:
I don't really need logging of successful local deliveries since the MTA provides enough data. I can't get rid of LDA delivery logs by setting
deliver_log_format =
All this does is produce an empty log message e.g.
Apr 16 01:22:05 dserver dovecot: lda(user):
Timo, would you consider inclusion of this patch which will skip logging deliveries if deliver_log_format is empty:
Committed, slightly modified: http://hg.dovecot.org/dovecot-2.0/rev/0e406e7cb609
participants (2)
-
Joseph Tam
-
Timo Sirainen