]> git.madduck.net Git - etc/mailfilter.git/commitdiff

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:

properly route spam messages
authormartin f. krafft <madduck@madduck.net>
Sun, 23 Sep 2007 17:32:10 +0000 (19:32 +0200)
committermartin f. krafft <madduck@madduck.net>
Sun, 23 Sep 2007 17:32:10 +0000 (19:32 +0200)
procmail/handlespam
procmail/spool

index 233234ab3d2c32d19d9c420f3c9096001061d23f..f87951a511a5dfe352b042c6cfc3869ac6bb00fd 100644 (file)
@@ -73,7 +73,7 @@
   { DEST=spam }
 }
 
-:0
+:0 E
 { LOG="spamfilter:  allowed to pass$NL" }
 
 #:0 E
index b7e5108f8c26aff626d34237d9ed882d0bc6d78d..1463366b0860c110a765424472288efb703beabc 100644 (file)
@@ -1,6 +1,7 @@
 :0 c
 *$ ! $MSG_DEJAVU
 * ! MSG_TEST ?? .
+* ! IS_SPAM ?? .
 {
   LOG="spool:       saving message $MSGID to spool$NL"
   TRAP