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

fix regexp to avoid extracting sfid with msgid
authormartin f. krafft <madduck@madduck.net>
Mon, 3 Mar 2008 15:34:26 +0000 (16:34 +0100)
committermartin f. krafft <madduck@madduck.net>
Mon, 3 Mar 2008 15:34:26 +0000 (16:34 +0100)
procmail/get-msgid

index 4a0d251f463e239da42dd4df88f6becac42252e6..eb5964eac7036b38d7d44180dc131731ba3b47bb 100644 (file)
@@ -1,12 +1,12 @@
 :0
 :0
-*$ ^Message-Id:$RE_EXTRACT_HEADER_VALUE
+*$ ^Message-Id:$RE_SPACE*\/$RE_NOT_SPACE+
 { MSGID="$MATCH" }
 
 :0
 * MSGID ?? ^$RE_SPACE*$|^<>$
 {
   :0
 { MSGID="$MATCH" }
 
 :0
 * MSGID ?? ^$RE_SPACE*$|^<>$
 {
   :0
-  * ^Resent-Message-Id:$RE_EXTRACT_HEADER_VALUE
+  * ^Resent-Message-Id:$RE_SPACE*\/$RE_NOT_SPACE+
   {
     LOGLATER="get-msgid:   lacking message-id, using resent-message-id...$NL"
     :0 fw
   {
     LOGLATER="get-msgid:   lacking message-id, using resent-message-id...$NL"
     :0 fw