From: martin f. krafft Date: Mon, 3 Mar 2008 12:47:43 +0000 (+0100) Subject: use RE variables consistently X-Git-Url: https://git.madduck.net/etc/mailfilter.git/commitdiff_plain/90af4d50470f9e9b91720fa42f26673293297312?ds=inline use RE variables consistently --- diff --git a/procmail/get-msgid b/procmail/get-msgid index 61eca10..4a0d251 100644 --- a/procmail/get-msgid +++ b/procmail/get-msgid @@ -1,12 +1,12 @@ :0 -* ^Message-Id:[ ]*\/[^ ]+ +*$ ^Message-Id:$RE_EXTRACT_HEADER_VALUE { MSGID="$MATCH" } :0 -* MSGID ?? ^[ ]*$|^<>$ +* MSGID ?? ^$RE_SPACE*$|^<>$ { :0 - * ^Resent-Message-Id:[ ]*\/[^ ]+ + * ^Resent-Message-Id:$RE_EXTRACT_HEADER_VALUE { LOGLATER="get-msgid: lacking message-id, using resent-message-id...$NL" :0 fw @@ -21,7 +21,7 @@ } :0 - * ^Message-Id:[ ]*\/[^ ]+ + * ^Message-Id:$RE_EXTRACT_HEADER_VALUE { MSGID="$MATCH" } }