mail_log plugin and uid=error in log file

Timo Sirainen tss at iki.fi
Tue Dec 1 15:31:36 UTC 2015


On 01 Dec 2015, at 11:36, Alessio Cecchi <alessio at skye.it> wrote:
> 
> Hi,
> 
> I enabled notify and mail_log plugins to log the message uid for new emails delivered via LMTP. All works fine except that the uid is not always logged (see uid=error instead of uid=NUMBER)
> 
> from dovecot.log:
> 
> Dec 01 10:03:08 lmtp(alessio at domain.com): Info: copy from <lmtp DATA>: box=INBOX, uid=error, msgid=<14489594 at domain.com>, from="WordPress" <wordpress at domain.com>, subject=Enquiry from Joy
> 
> Dec 01 10:03:09 lmtp(alessio at domain.com): Info: copy from <lmtp DATA>: box=INBOX, uid=92, msgid=<03c4e16d at www.domain.com>, from="WordPress" <wordpress at domain.com>, subject=Enquiry from Joy

Does this help? http://hg.dovecot.org/dovecot-2.2/rev/25d63d9c7f5a




More information about the dovecot mailing list