Skip to content

Instantly share code, notes, and snippets.

@mkay
Created June 26, 2013 10:57
Show Gist options
  • Save mkay/5866568 to your computer and use it in GitHub Desktop.
Save mkay/5866568 to your computer and use it in GitHub Desktop.
colour scheme for monitoring dovecot via mail.log, using grc (http://kassiopeia.juls.savba.sk/~garabik/software/grc/)
# dovecot mail.log conf for grc
# install: save as /usr/share/grc/conf.dovecot
# usage: grc -c conf.dovecot tail -f /var/log/mail.log
regexp=(?<=<)(.*)(?=>)
colours=green
count=more
======
regexp=imap-login: Login
colours=yellow
count=more
======
regexp=pop3-login: Login
colours=yellow
count=more
======
regexp=^... .. ..:..:..
colours=cyan
count=more
======
regexp=:
colours=white
count=more
======
regexp=auth failed
colours=red
count=more
======
regexp=error
colours=red
count=more
======
regexp=TLS
colours=magenta
count=more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment