X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/f13b65c193ce607c41f94b701724e15a3a741cbd..7e7f50ee2f6d2ab4e392c75e0a9d96e53f6bac35:/procmail/rules/cron diff --git a/procmail/rules/cron b/procmail/rules/cron index bac2ead..3a0fa06 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 +{ + DELAY + + :0 + * SUBJECT ?? ^Cron <(madduck|ruth)@[a-z]+> sleep .+offlineimap + { DEST=$NULL } } # vim:ft=procmail