procmail
[Top] [All Lists]

Charset ISO-8859-1 and ASCII Subjects

2004-03-10 06:00:11

Hi,

        Supose I want to block Subjects contents like the recipe below:

:0
 * ^Subject:.*Milhões pra cáça
 /dev/null

        So, If the subject came in plain text or ASCII the recipe works fine, 
but if the mail came from a mail client like i.e. 'outlook express' or other 
that encode the header to iso-8859-1, procmail will try to compare the Subeject 
rule on the encoded subject and the recipe will not work.

So I have the case

( * ^Subject:.*Milhões pra cáça ) is different ( * 
^Subject:.*=?iso-8859-1?B?TWlsaPVlcyBwcmEgY+HnYQ==?=)


Resuming, Is there any way to procmail decode the subject iso-8859-1 and match 
my rule?

regards!

=================================
Felipe Piccirilo  
piccirilo(_at_)gruponet(_dot_)com(_dot_)br
Brazil - SP - Limeira
=================================


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail