X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/fc9a6dab126954a043bbdf158f5e327e4f884fb2..bcf057545ec9293f7db214feb4e77454c8a75fd4:/procmail/defines diff --git a/procmail/defines b/procmail/defines index 9503524..a7acfab 100644 --- a/procmail/defines +++ b/procmail/defines @@ -130,7 +130,26 @@ INCLUDERC=$PMDIR/get-msgid :0 *$ ^Subject:$RE_EXTRACT_HEADER_VALUE -{ SUBJECT="$MATCH" } +{ + 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 *$ ^X-Original-To:$RE_EXTRACT_HEADER_VALUE