Question
How do I disable the Dovecot mail_log plugin?
Answer
You may use the mail_log plugin to help diagnose issues with mail being uploaded and downloaded by email clients. Leaving the plugin enabled will continue to log the additional entries. Furthermore, enabling additional logging could cause log files to grow quickly or roll over sooner.
To disable the mail_log plugin:
Move the local Dovecot template file out of the way:
# mv -vi /var/cpanel/templates/dovecot/main.local{,.$(date +%s)}
Note: This will also remove any other customizations. If other modifications to the local file were made, you would need to recreate those in a new local template afterward.
Rebuild the dovecot configuration and restart the service:
# /scripts/builddovecotconf && /scripts/restartsrv_dovecot
Comments
0 comments
Article is closed for comments.