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

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:

do not include newline in logfile hash
[etc/mailfilter.git] / procmail / spammers
index b5dd34b5fc49f4e05a5acd084e91c0bdb7c4aa17..a41e1102a0208275bf08c73fad4df78fb5524951 100644 (file)
@@ -10,10 +10,8 @@ SPAMMER
 :0
 * SPAMMER ?? @
 {
 :0
 * SPAMMER ?? @
 {
-  LOG="spammers:    message from known spam sender$NL"
-  :0 fw
-  |$FORMAIL -A"X-Spamtrapped: from known spammer ($SPAMMER)"
-  SPAMTRAPPED=known-spammer
+  SPAMTRAPPED="from known spammer ($SPAMMER)"
+  LOG="spammers:    $SPAMTRAPPED$NL"
 }
 SPAMMER
 
 }
 SPAMMER