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:

cleanup headers we add earlier in the chain
authormartin f. krafft <madduck@madduck.net>
Sun, 23 Sep 2007 15:03:01 +0000 (17:03 +0200)
committermartin f. krafft <madduck@madduck.net>
Sun, 23 Sep 2007 15:03:01 +0000 (17:03 +0200)
procmail/cleanup [new file with mode: 0644]
procmail/pre-spam-cleanup
procmail/procmailrc

diff --git a/procmail/cleanup b/procmail/cleanup
new file mode 100644 (file)
index 0000000..646d2ab
--- /dev/null
@@ -0,0 +1,6 @@
+# remove all headers our mailfilter adds
+:0 fw
+|$FORMAIL -IX-EqDomain -IX-EqTo -IX-Justme -IContent-Length
+
+# now should be idempotent
+
index e360aad1deabc5b98a131efa6b5b5a87130cce98..93fee2afde82377998b85a051ebaf537ba6b6ba8 100755 (executable)
@@ -26,6 +26,6 @@ PMDIR=${PMDIR:-$HOME/.etc/mailfilter/procmail}
 # remove other unwanted headers from all messages
 :0 fw
 |$FORMAIL -IX-Virus -IX-UID -IX-OfflineIMAP- -IX-Status -IStatus -IX-Keywords -IX-Greylist \
-          -IX-Spam -IX-CRM114 -IX-Auto -IX-Trained-As -IX-EqDomain -IX-EqTo -IX-Justme
+          -IX-Spam -IX-CRM114 -IX-Auto -IX-Trained-As
 
 # now should be idempotent
index e1f817d200e97d399fd80a2445c326fdfaeaab06..15ef1fb3f7149dddb4c9e3822b35ec13d7b93d79 100755 (executable)
@@ -20,6 +20,7 @@ INCLUDERC=$PMDIR/logging
 INCLUDERC=$PMDIR/msgid-index
 
 INCLUDERC=$PMDIR/dejavu
+INCLUDERC=$PMDIR/cleanup
 INCLUDERC=$PMDIR/eqdomains
 
 INCLUDERC=$PMDIR/duplicates