From: martin f. krafft Date: Sun, 29 Jun 2008 08:57:44 +0000 (+0200) Subject: fix message ID adding for messages that do not have one X-Git-Url: https://git.madduck.net/etc/mailfilter.git/commitdiff_plain/27cea8f67d05eeed2019de0b9febc76dacf0b608 fix message ID adding for messages that do not have one --- 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" } }