From: martin f. krafft Date: Mon, 31 Aug 2009 10:57:38 +0000 (+0200) Subject: do not include newline in logfile hash X-Git-Url: https://git.madduck.net/etc/mailfilter.git/commitdiff_plain/c3fa7c8694181906f4a54708da2574b9df2be133?hp=07501919b00a0170efa60ded07e8169452647790 do not include newline in logfile hash --- diff --git a/procmail/logging b/procmail/logging index 4574b18..19cbc4d 100644 --- a/procmail/logging +++ b/procmail/logging @@ -5,7 +5,7 @@ MSGIDDIR=$PMVAR/msgid :0 * MSGID ?? ^<\/[^>]+ { - MSGID_NAME=`echo $MATCH | sha224sum | cut -d' ' -f1` + MSGID_NAME=`echo -n $MATCH | sha224sum | cut -d' ' -f1` :0 * MSGID_NAME ?? ^\/.