X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/98d09b7c38b80132e76f0e58eadafd86872cb30e..d54682894f13d340c4561e4bdd3fc6f74dea2510:/procmail/defines diff --git a/procmail/defines b/procmail/defines index 07482cd..bb07680 100644 --- a/procmail/defines +++ b/procmail/defines @@ -158,12 +158,13 @@ INCLUDERC=$PMDIR/get-msgid :0 *$ ^Subject:$RE_EXTRACT_HEADER_VALUE { - SUBJECT=$MATCH + SUBJECT="$MATCH" :0 * SUBJECT ?? =\?.+\?[QBqb]\?.+\?= { SUBJECT="`PERL_UNICODE=S perl -MEncode=decode -e \"print decode(\\\"MIME-Header\\\", \\\"$SUBJECT\\\") . \\\"\n\\\";\"`" + SUBJECT_ENCODED="$MATCH" } }