Dovecot Logging and Shell Script Hang
Asai
asai at globalchangemusic.org
Thu Feb 28 00:45:33 EET 2019
On Feb 27, 2019, at 11:00 AM, Aki Tuomi via dovecot <dovecot at dovecot.org> wrote:
>
>
>> On 27 February 2019 18:49 Asai via dovecot <dovecot at dovecot.org> wrote:
>>
>>
>> Greetings,
>>
>> We have a PHP based shell script that runs a doveadm backup routine.
>>
>> This script was running just fine, and then we turned on more logging for Dovecot (enabled the mail_log plugin). For some reason, once this was done, the shell script would run for a few minutes and then hang, as it added more log messages to the dsync STDOUT. Once the mail_log plugin was disabled, it ran without hanging.
>>
>> Is there any way to run doveadm and temporarily suspend the mail_log plugin? Or is there a better way to do this?
>>
>> Thanks for the insights.
>>
>> Asai
>>
>
> You might want to enable mail_log plugin for imap/pop3 protocols only.
>
> protocol imap {
> mail_plugins = $mail_plugins mail_log
> }
>
> protocol pop3 {
> mail_plugins = $mail_plugins mail_log
> }
>
> Aki
Thank you, Aki, I will try that.
More information about the dovecot
mailing list