X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/ba62adb2c3d0d730f84572326c1cd6023231b705..646b55ced5ab3ed1b27cfbd5d74a3bcb50dea8a1:/procmail/rules/cron diff --git a/procmail/rules/cron b/procmail/rules/cron index 2fd7f94..79e6e33 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@(.+\.)+madduck.net \(Cron Daemon\)$ -{ - DEST=$NULL - DELAY +* FROM ?? ^root@(.+\.)+[a-zA-Z][a-zA-Z][a-zA-Z]? \(Cron Daemon\)$ +{ + DELAY + + :0 + * SUBJECT ?? ^Cron .+offlineimap -o + { DEST=$NULL } } # vim:ft=procmail