]> git.madduck.net Git - etc/mailfilter.git/blobdiff - procmail/handlespam

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

create earlyquirks filter to manipulate before defines
[etc/mailfilter.git] / procmail / handlespam
index 233234ab3d2c32d19d9c420f3c9096001061d23f..9d5e05a59f57588191b3d8e1942d572494836171 100644 (file)
 {
   LOG="spamfilter:  filing as unsure$NL"
   :0
 {
   LOG="spamfilter:  filing as unsure$NL"
   :0
-  { DEST=retrain.unsure }
+  {
+    DEST=retrain.unsure
+    DELAY=$DELAY_TONIGHT
+  }
 }
 
 :0 E
 }
 
 :0 E
 {
   LOG="spamfilter:  filing as disagreed$NL"
   :0
 {
   LOG="spamfilter:  filing as disagreed$NL"
   :0
-  { DEST=retrain.disagree }
+  {
+    DEST=retrain.disagree
+    DELAY=$DELAY_TONIGHT
+  }
 }
 
 :0 E
 }
 
 :0 E
 {
   LOG="spamfilter:  filing as spam$NL"
   :0
 {
   LOG="spamfilter:  filing as spam$NL"
   :0
-  { DEST=spam }
+  $SPAM
 }
 
 }
 
-:0
+:0 E
 { LOG="spamfilter:  allowed to pass$NL" }
 
 #:0 E
 { LOG="spamfilter:  allowed to pass$NL" }
 
 #:0 E