From 5c28a6614161480f04a1783bc7441bc90f50dfb9 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Mon, 27 Aug 2007 12:16:19 +0200 Subject: [PATCH 1/1] only alter cache msgid when it has been added --- procmail/get-msgid | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/procmail/get-msgid b/procmail/get-msgid index c1260ac..3c3bfe3 100644 --- a/procmail/get-msgid +++ b/procmail/get-msgid @@ -38,11 +38,5 @@ *$ !^Received: by $RE_MAILRELAYS \(postfix, from userid { LOG="get-msgid: missing message ID added by one of our mail relays$NL" - - :0 fw - |$SED -re "s/^([Mm]essage-[Ii][Dd]:[^@]+@$RE_MAILRELAYS)\>/\1.MSGID-ADDED/" - - :0 - * ^Message-Id:[ ]*\/[^ ]+ - { MSGID="$MATCH" } + MSGID="${MSGID}.MSGID-ADDED" } -- 2.39.5