procmail
[Top] [All Lists]

Re: [pro] Charset ISO-8859-1 and ASCII Subjects

2004-03-10 10:01:40

Oops. Wrong list. The provided rules are additions to 'SpamAssassin'.
But the regexes can be pasted into procmail with little problem....

- C

On Wed, 10 Mar 2004, Charles Gregory wrote:
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