Re: mail_log plugin and uid=error in log file

2015-12-02 Thread Alessio Cecchi
Il 01/12/2015 16:31, Timo Sirainen ha scritto: On 01 Dec 2015, at 11:36, Alessio Cecchi 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)

Re: mail_log plugin and uid=error in log file

2015-12-01 Thread Gilles Chauvin
On 01/12/2015 17:14, Marcus Rueckert wrote: mail_log_prefix = "%s(%u): %{session} " only downside is some lines will then end up with the session ID twice. When i asked Timo said he doesnt want to change that behavior in 2.2. but in 2.3 it might be an option to unify that. Hi Marcus, I will

Re: mail_log plugin and uid=error in log file

2015-12-01 Thread Marcus Rueckert
On 2015-12-01 17:08:01 +0100, Gilles Chauvin wrote: > Sorry about the thread hijacking but, speaking about the mail_log plugin, > what do you think about the ability to add the session number to the log > lines produced by this plugin? > > This could be a useful information to have too, especially

Re: mail_log plugin and uid=error in log file

2015-12-01 Thread Gilles Chauvin
On 01/12/2015 16:31, Timo Sirainen wrote: Does this help? http://hg.dovecot.org/dovecot-2.2/rev/25d63d9c7f5a Hi Timo, Sorry about the thread hijacking but, speaking about the mail_log plugin, what do you think about the ability to add the session number to the log lines produced by this pl

Re: mail_log plugin and uid=error in log file

2015-12-01 Thread Timo Sirainen
On 01 Dec 2015, at 11:36, Alessio Cecchi 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