From: martin f. krafft Date: Mon, 3 Mar 2008 15:34:26 +0000 (+0100) Subject: fix regexp to avoid extracting sfid with msgid X-Git-Url: https://git.madduck.net/etc/mailfilter.git/commitdiff_plain/bc7202c2a09ed0fc145ad3aa7a6b7dd52e9025db?hp=90af4d50470f9e9b91720fa42f26673293297312 fix regexp to avoid extracting sfid with msgid --- diff --git a/procmail/get-msgid b/procmail/get-msgid index 4a0d251..eb5964e 100644 --- a/procmail/get-msgid +++ b/procmail/get-msgid @@ -1,12 +1,12 @@ :0 -*$ ^Message-Id:$RE_EXTRACT_HEADER_VALUE +*$ ^Message-Id:$RE_SPACE*\/$RE_NOT_SPACE+ { 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