From: Johannes Weißl Date: Mon, 29 Nov 2010 11:32:08 +0000 (+0100) Subject: tweak Message-ID regexp X-Git-Url: https://projects.mako.cc/source/muttjump/commitdiff_plain/870af1457c0ce75da37b3607ad6191d8580d33ef?hp=3ff8f13efbda2198b6413ddca50cd872fcbe2ada tweak Message-ID regexp --- diff --git a/muttjump b/muttjump index c6453eb..8ff2625 100755 --- a/muttjump +++ b/muttjump @@ -89,7 +89,7 @@ if type -p $FORMAIL >/dev/null ; then elif type -p $REFORMAIL >/dev/null ; then msgid=$($REFORMAIL -c -x Message-ID: | head -n1) else - msgid=$(sed -n 's/^Message-ID: \(.*\)/\1/Ip' | head -n1) + msgid=$(sed -n 's/^Message-ID:[ \t]*\(.*\)/\1/Ip' | head -n1) fi if [ -z "$msgid" ] ; then die "could not find Message-ID header in standard input"