procmail
[Top] [All Lists]

Re: Problem with charset recipe

2004-04-12 18:10:57
Toen wij Timur Tabi kietelden, kwam er dit uit:

  :0
  * ^Content-Type:.*charset.*(Windows-1251|koi8-r|big5)
  .dh-unblocked-spam/

This works pretty well most of the time, but some Chinese spam still
gets through, because the Content-Type line that I look for is not in
the main header, but in one of the MIME attachments

The next step:

   :0
   * ^Content-Type:.*charset=\"?(Windows-1251|koi8-r|big5)
   .dh-unblocked-spam/
   :0E
   * Content-Type: multipart/
   * B ?? ^Content-Type:(.|$)*charset=\"?(Windows-1251|koi8-r|big5)
   .dh-unblocked-spam/

Check Sean's 'furrin' for a completer approach:
  http://www.google.nl/search?q=furrin+sean

-- 
Grtz, Ruud

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

<Prev in Thread] Current Thread [Next in Thread>