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

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:

fix case in msgid header
[etc/mailfilter.git] / procmail / addheaders
index dc37f138fc4d8bc5be204f94cf3073d49f0a832a..cbfc9ed6a3069b5edd2e391e0b6fb268fa32954d 100644 (file)
@@ -1,5 +1,17 @@
+:0 fw
+*$ !$MSG_DEJAVU
+|$FORMAIL -A"$DEJAVU_HEADER: $ID"
+
+:0 fw
+* SPAMTRAPPED ?? .
+|$FORMAIL -A"X-Spamtrapped: $SPAMTRAPPED"
+
 :0 fw
 * JUSTME ?? .
 |$FORMAIL -A"X-Justme: $JUSTME"
 
-# vim:set ft=procmail
+:0 fw
+* EQ_DOMAIN ?? .
+|$FORMAIL -A"X-EqDomain: $ORIG_DOMAIN" -A"X-EqTo: $EQ_LOCAL@$EQ_DOMAIN"
+
+# vim:ft=procmail