X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/599d9ae6524ab572f6c4e1872cd5e09c8103add3..f9580451f506db43603243fef630f8ebfcc4a884:/procmail/rules/cron

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