wrong subject encoding in /var/mail/<user>

Hiisi saippua5 at gmail.com
Fri Oct 29 13:31:19 UTC 2010


pe, 2010-10-29 kello 09:08 -0400, Todd Zullinger kirjoitti:
<--SNIP-->
> Why do you say this is incorrect?  It looks like a properly encoded
> mail header that uses non-ascii characters, per RFC 2047.
> 

I use this command in a bash script:
cat |grep Subject:|sed 's/Subject: //g'>$OUTFILE
The script is invoked by procmail. The $OUTFILE consists of something
like that:
=?utf-8?B?0YLQtdC80LAg0L/QuNGB0YzQvNCw?=
I would like the information in it to be readable.
$OUTFILE encoding is 7bit ASCII characters. Converting it to different
encoding using iconv does not make any difference. If subject encoding
is right, how can I recode it to something different?
TIA
-- 
Don't quit now, we might just as well lock the door and throw away the key.



More information about the users mailing list