]> 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:

proper handling of X-Postponed header
[etc/mailfilter.git] / procmail / addheaders
index 74fb503bd3c6d90d9c1c5eee8720b61269582165..6d739c119a5605a67905da40aff6605a15bada99 100644 (file)
@@ -2,6 +2,10 @@
 *$ !$MSG_DEJAVU
 |$FORMAIL -A"$DEJAVU_HEADER: $ID"
 
+:0 fw
+* SPAMTRAPPED ?? .
+|$FORMAIL -A"X-Spamtrapped: $SPAMTRAPPED"
+
 :0 fw
 * JUSTME ?? .
 |$FORMAIL -A"X-Justme: $JUSTME"
@@ -10,4 +14,8 @@
 * EQ_DOMAIN ?? .
 |$FORMAIL -A"X-EqDomain: $ORIG_DOMAIN" -A"X-EqTo: $EQ_LOCAL@$EQ_DOMAIN"
 
-# vim:set ft=procmail
+:0 fw
+* POSTPONED ?? .
+|$FORMAIL -I"X-Postponed: $POSTPONED"
+
+# vim:ft=procmail