Hi,
For some reason, I get a lot of spam in Chinese and Russian, so I created this
recipe to filter it all away:
: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:
Content-Type: multipart/related;
type="multipart/alternative";
boundary="----=_NextPart_3xrad0E0BK1Vq4k4OHgS8EpyF"
Date: Mon, 12 Apr 2004 11:01:48 -0700 (PDT)
This is a multi-part message in MIME format.
------=_NextPart_3xrad0E0BK1Vq4k4OHgS8EpyF
Content-Type: multipart/alternative;
boundary="----=_NextPart_3xrad0E0BK1Vq4k4OHgS8EpyFAA"
------=_NextPart_3xrad0E0BK1Vq4k4OHgS8EpyFAA
Content-Type: text/html;
charset="big5"
Content-Transfer-Encoding: base64
What do I need to do to catch these messages?
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail