X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/741f9a9bbeb999f22417f0a30696165613684d4d..3f099e407b0f77d4ce33f78478f468bf0d3fe347:/procmail/rules/cron

diff --git a/procmail/rules/cron b/procmail/rules/cron
index b723e9b..79e6e33 100644
--- a/procmail/rules/cron
+++ b/procmail/rules/cron
@@ -1,6 +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\)$
-$NULL
+* FROM ?? ^root@(.+\.)+[a-zA-Z][a-zA-Z][a-zA-Z]? \(Cron Daemon\)$
+{
+  DELAY
+
+  :0
+  * SUBJECT ?? ^Cron <madduck@[a-z]+> .+offlineimap -o
+  { DEST=$NULL }
+}
 
 # vim:ft=procmail