I have specific mail address which I get messages couple times with a basic pattern which I want to block.

I started reading:
http://wiki.apache.org/spamassassin/WritingRules

And I would be very happy to get some notes and help about it.

- The mail is from specific mail address.
- The mail body have specific pattern which is
#quote start of mail body
one language paragraph
----
couple paragraphs in more then 50% English or 50% non my local language (the spam msg body)
----
other paragraph info
--
signatrue
#quote end of mail body

So basically I need to match the sender then "score" the body from "----" to "----\r\n_msg_end_marker" by language characters percentage.

Any direction to do that will be very helpful.

Now the email scores are:
X-Spam-Flag: NO
X-Spam-Score: 3.146
X-Spam-Level: ***
X-Spam-Status: No, score=3.146 tagged_above=2 required=6.2
        tests=[FROM_ILLEGAL_CHARS=2.059, LOTS_OF_MONEY=0.001,
        RCVD_IN_XBL=0.724, RDNS_DYNAMIC=0.363, SPF_PASS=-0.001] autolearn=no



Thanks,

--
Eliezer Croitoru

Reply via email to