Last active
February 3, 2016 20:45
-
-
Save yrousse/8035c0bc9cfa32f485f6 to your computer and use it in GitHub Desktop.
IMAP logins/disconnects flooding logs (dovecot). A dirty solution...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Stop login and disconnect entries being in log | |
# Must exist in /etc/rsyslog.d/ | |
# Restart rsyslog service | |
:msg, regex, "imap-login.*Login" stop | |
:msg, regex, "imap.*Disconnected" stop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Again, a dirty solution (including lousy regex)... As it may remove critical entries beyond the intended ones.
Consider it only once IMAP access works fine and to help you gaining more visibility from logs while fine tuning other areas.