Extended logging / moved mails jumping back

Martin Müller muellermeister at gmail.com
Sun Apr 14 13:04:36 EEST 2019


>> Hi!

>> Now I have to check, if this a Thunderbird-Issue or is this a 
>> dovecot-issue. For that reason, I will activate the extended logging 
>> of dovecot.
> <snip/>
>> I cant see such events in the logfiles. Which switch is to turn on to 
>> log all events?
>> Or do anyone know the reason for the annoying 
>> "copy/move-the-mail-back"-issue?
>>
>> Thank you in advance for all inputs.
>>
>> regards, martin
> 
> You are missing
> 
> mail_plugins = $mail_plugins notify mail_log

Thank you - it didnt work for me (yet). But I think there is another 
problem which I have to solve first. I recognised that the maildelivery 
stops after turning on the logging to the three files.

The incomming mails are held in the mailq, in syslog appears

relay=dovecot, delay=0.13, delays=0.07/0/0/0.06, dsn=4.3.0, 
status=deferred (temporary failure. Command output: Can't open log file 
/var/log/mail.dovecot-error: Permission denied )

In /var/log/mail.dovecot-error are lines like
2019-04-14 10:16:18 auth: Warning: auth client 0 disconnected with 1 
pending requests: Connection reset by peer

Here the output of ls -la /var/log/mail.dovecot-error
-rw-r--r-- 1 root root   21259 Apr 14 11:24 /var/log/mail.dovecot-error


If I turn the extended logging off, all works fine.
`postqueue -f` releases all held mails to their boxes.

Any hints for me?


Thank you!

martin



More information about the dovecot mailing list