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

early check for M-F-T header saves some performance
authormartin f. krafft <madduck@seamus.madduck.net>
Mon, 20 Aug 2007 22:04:28 +0000 (00:04 +0200)
committermartin f. krafft <madduck@seamus.madduck.net>
Mon, 20 Aug 2007 22:04:28 +0000 (00:04 +0200)
procmail/listquirks

index b36ffd270f9de9ae1d949dd7553bb1aa4f53f248..9396e904c9344b58a07e96d5cea1bba3f386b600 100644 (file)
@@ -6,11 +6,12 @@
 #
 :0
 * ? echo "$EQ_TO" | $EGREP -qif $CONF/cclists
 #
 :0
 * ? echo "$EQ_TO" | $EGREP -qif $CONF/cclists
+* ! ^Mail-Followup-To:
 {
   CORRESPONDENTS=`formail -cxTo: -xCc: -xFrom: | tr -s '\n' ,`
   LOG="listquirks:   adding M-F-T header for message on list $EQ_TO$NL"
   :0 fw
 {
   CORRESPONDENTS=`formail -cxTo: -xCc: -xFrom: | tr -s '\n' ,`
   LOG="listquirks:   adding M-F-T header for message on list $EQ_TO$NL"
   :0 fw
-  |$FORMAIL -a "Mail-Followup-To: $CORRESPONDENTS"
+  |$FORMAIL -A "Mail-Followup-To: $CORRESPONDENTS"
 }
 
 # vim:ft=procmail
 }
 
 # vim:ft=procmail