I’m using dovecot’s sieve to filter incoming mail into different folders. As this works in the backround (through fetchmail + procmail + dovecot’s deliver), I may not know that new mail is available until I check in Gnus or notmuch.
So I’d like to be notified by notification popups in my Gnome desktop (I’m using gnome3’s fallback session, FWIW).
I’ve added the following crontab (crontab -e) :
* * * * * ~/bin/dovecot-logs-stats.sh
This is a shell script that will check the new lines added to dovecot’s sieve log file, counting how much new mails have been added in each folder.
Continue reading “Periodic notification of received mails processed by dovecot’s sieve”