In this example, I need to catch emails containing the word 'deputado' or 'presidente' in the message body. So..

body MYRULE     /deputado|presidente/i
score MYRULE    5.0

I did a test with a saved email that does _NOT_ contain any of the above expressions and he got the message.

spamc -R < sample.eml

pts rule name              description
---- ---------------------- -------------------------------------------------- 1.0 EXTRA_MPART_TYPE Header has extraneous Content-type:...type= entry
 5.0 MYRULE
 0.0 HTML_MESSAGE           BODY: HTML included in message
 0.0 BAYES_50               BODY: Bayesian spam probability is 40 to 60%
                            [score: 0.5000]
2.2 DCC_CHECK Listed in DCC (http://rhyolite.com/anti-spam/dcc/) 0.1 RDNS_NONE Delivered to trusted network by a host with no rDNS

What i'm doing wrong??

Reply via email to