From 23f3aaa4478aab4cc239c756274a54727ccaf6e0 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Mon, 12 Nov 2007 14:50:11 +0100 Subject: [PATCH] add commented code to decode subject lines --- procmail/defines | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) 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 -- 2.39.5