X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/8b8ccee45aae72a1fdabbc7eb1abc31b63eb9519..d6d50bb1e6250d4ea0a43fc0cf0b5d78612fc0a7:/procmail/rules/cron diff --git a/procmail/rules/cron b/procmail/rules/cron index 0c2abe5..7cfc5c4 100644 --- a/procmail/rules/cron +++ b/procmail/rules/cron @@ -1,9 +1,12 @@ -# rely on spool to keep cron output around +# we don't want all cron messages, so we filter some, and delay none :0 * FROM ?? ^root@(.+\.)+[a-zA-Z][a-zA-Z][a-zA-Z]? \(Cron Daemon\)$ { - DEST=$NULL DELAY + + :0 + * SUBJECT ?? ^Cron <(madduck|ruth)@[a-z]+> .+offlineimap -o + { DEST=$NULL } } # vim:ft=procmail