X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/bc7202c2a09ed0fc145ad3aa7a6b7dd52e9025db..700c128727523a5d4535a4e40b0204bf3e1df2c4:/procmail/get-msgid diff --git a/procmail/get-msgid b/procmail/get-msgid index eb5964e..02b10b1 100644 --- a/procmail/get-msgid +++ b/procmail/get-msgid @@ -3,10 +3,10 @@ { MSGID="$MATCH" } :0 -* MSGID ?? ^$RE_SPACE*$|^<>$ +*$ MSGID ?? ^$RE_SPACE*$|^<>$ { :0 - * ^Resent-Message-Id:$RE_SPACE*\/$RE_NOT_SPACE+ + *$ ^Resent-Message-Id:$RE_SPACE*\/$RE_NOT_SPACE+ { LOGLATER="get-msgid: lacking message-id, using resent-message-id...$NL" :0 fw @@ -21,7 +21,7 @@ } :0 - * ^Message-Id:$RE_EXTRACT_HEADER_VALUE + *$ ^Message-Id:$RE_EXTRACT_HEADER_VALUE { MSGID="$MATCH" } }