procmail
[Top] [All Lists]

Re: Looking inside MIME (was Re: State of procmail)

2016-08-22 06:37:52
On 20 Aug 2016, at 21:11, R A Lichtensteiger <rali(_at_)tifosi(_dot_)com> wrote:

 (In the recipe below $atext is as defined in RFC5322 section 3.2.3.)

 :0
 * SUBJECT ?? =(20[$atext]+|\?ISO-8859-1)
 {
   SUBJECT=`echo "$MATCH" | mimencode -u -b`

   :0 hfw
   | formail -i "Subject: $SUBJECT"
 }

Using mimencode is a little heavyweight, but processor is a lot
cheaper than it used to be …

What is that going to do to subjects that contain unicode characters that will 
require UTF encoding (like 🚀 or 🇩🇪)?



____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail