On 01 Dec 2015, at 11:36, Alessio Cecchi <ales...@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(ales...@domain.com): Info: copy from <lmtp DATA>: > box=INBOX, uid=error, msgid=<14489...@domain.com>, from="WordPress" > <wordpr...@domain.com>, subject=Enquiry from Joy > > Dec 01 10:03:09 lmtp(ales...@domain.com): Info: copy from <lmtp DATA>: > box=INBOX, uid=92, msgid=<03c4e...@www.domain.com>, from="WordPress" > <wordpr...@domain.com>, subject=Enquiry from Joy
Does this help? http://hg.dovecot.org/dovecot-2.2/rev/25d63d9c7f5a