Decode =?ISO-8859-1? subject lines?

Boris 'pi' Piwinger 3.14 at logic.univie.ac.at
Thu Feb 19 14:53:36 CET 2004


Geoff wrote:

> Procmail applies bogofilter and sends the spam to an
> ordinary directory.  I periodically run as simple shell
> script to grep the subject fields to check to false
> positves. A significant proportion of the spam has an
> encoded subject line commencing=?ISO-8859-1?. I assume that
> this almost inevitably means that the mail is spam and can
> be safely discarded,

You already got an answer there.

> but I would like to be able to read it
> just in case.  I have googled a good deal, but have not been
> able to find script or utility which will decode such lines
> and which I could incorporate into my shell script.  Can
> anyone point me to one please?

See http://piology.org/.procmailrc.html for a solution.

pi




More information about the Bogofilter mailing list