On Wed, 10 Mar 2004, Felipe Piccirilo wrote:
( * ^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?
Personally, I just check for the encoding (note the 'raw' option):
header LOC_SUBJECTENCODED Subject:raw =~ /=\?.*\?=/i
describe LOC_SUBJECTENCODED Subject line encoded
score LOC_SUBJECTENCODED 0.5
header LOC_SUBJISO8859 Subject:raw =~ /ISO.8859.1/i
describe LOC_SUBJISO8859 Subject is quoted printable iso-8859-1
score LOC_SUBJISO8859 0.5
- C
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail