X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/721bb27ffd590921fc1d111756481161a11fb521..ce695b5f37533916b1d13761095da0fdc112d39f:/procmail/defines diff --git a/procmail/defines b/procmail/defines index ce23e44..d0da2ef 100644 --- a/procmail/defines +++ b/procmail/defines @@ -133,22 +133,19 @@ INCLUDERC=$PMDIR/get-msgid { SUBJECT=$MATCH -#TODO -# :0 -# * SUBJECT ?? ()\?=\?(iso-8859-1|utf-8)\?\/..[^\?]* -# { -# :0 -# * MATCH ?? B\?\/[^\?]* -# { BBB=`echo $SUBJECT | mimencode -u | cat -v` } -# -# :0 -# * MATCH ?? Q\?\/[^\?]* -# { QQQ=`echo $SUBJECT | mimencode -u -q | cat -v` } -# -# SUBJECT="$QQQ$BBB" -# } - -SUBJECT="$MATCH" + :0 + * SUBJECT ?? =\?(iso-8859-1|utf-8)\?\/..[^\?]* + { + :0 + * MATCH ?? B\?\/[^\?]* + { BBB=`echo $SUBJECT | mimencode -u` } + + :0 + * MATCH ?? Q\?\/[^\?]* + { QQQ=`echo $SUBJECT | mimencode -u -q` } + + SUBJECT="$QQQ$BBB" + } } :0 @@ -232,4 +229,4 @@ JUSTME # DISABLE_DELAYS # if set, disables delaying messages -DISABLE_DELAYS=true +DISABLE_DELAYS