Skip to content

Instantly share code, notes, and snippets.

@yrousse
Last active February 3, 2016 20:45
Show Gist options
  • Save yrousse/8035c0bc9cfa32f485f6 to your computer and use it in GitHub Desktop.
Save yrousse/8035c0bc9cfa32f485f6 to your computer and use it in GitHub Desktop.
IMAP logins/disconnects flooding logs (dovecot). A dirty solution...
# 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
@yrousse
Copy link
Author

yrousse commented Feb 3, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment