Mailing List Archive

Rule write question
I am trying to write a test rule but it will not work

example
body LOCAL_DEMONSTRATION_RULE /test/
score LOCAL_DEMONSTRATION_RULE 5.0
describe LOCAL_DEMONSTRATION_RULE My test rule

I put this in a file named my_rules.cf in
/etc/mail/spamassassin/
and then run
service spamassassin restart

My hits is set to only 4.5

I then send a email from outside the server with test in the body
but it does not seem to be work

any idea why?
Thanks
Ed
(spamassasin is working the header in the email scores it 3.1)


---------------------------------
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster.
Rule write question [ In reply to ]
I am trying to write a test rule but it will not work

example
body LOCAL_DEMONSTRATION_RULE /test/
score LOCAL_DEMONSTRATION_RULE 5.0
describe LOCAL_DEMONSTRATION_RULE My test rule

I put this in a file named my_rules.cf in
/etc/mail/spamassassin/
and then run
service spamassassin restart

My hits is set to only 4.5

I then send a email from outside the server with test in the body
but it does not seem to be work

any idea why?
Thanks
Ed
(spamassasin is working the header in the email scores it 3.1)

also I get a mailbox full bounce sometimes from
Mailer-Daemon@rhnet.org
what does this address have to do with the SA list?



---------------------------------
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster.
Re: Rule write question [ In reply to ]
From: "Ed BK" <aaebd@yahoo.com>

> I am trying to write a test rule but it will not work
>
> example
> body LOCAL_DEMONSTRATION_RULE /test/
> score LOCAL_DEMONSTRATION_RULE 5.0
> describe LOCAL_DEMONSTRATION_RULE My test rule
>
> I put this in a file named my_rules.cf in
> /etc/mail/spamassassin/
> and then run
> service spamassassin restart
>
> My hits is set to only 4.5
>
> I then send a email from outside the server with test in the body
> but it does not seem to be work
>
> any idea why?
> Thanks
> Ed
> (spamassasin is working the header in the email scores it 3.1)
>
> also I get a mailbox full bounce sometimes from
> Mailer-Daemon@rhnet.org
> what does this address have to do with the SA list?

WAY WAY too little information to diagnose the problem. Perhaps the first
thing I would do is try to figure out why the rule is not getting parsed.
"spamassassin --lint" might find an error earlier in the scanning process
that is killing you.

Are you using spamd? Are you using spamassassin in a global procmailrc?
Are you using it with QMAIL? Are you using spamassassin in a local
.procmailrc? Er, just how in heck ARE you using it?

{^_-}
Re: Rule write question [ In reply to ]
Sorry

I'm using qmail with SA & qmail-scanner on a rh9 OS
I have my_rules.cf located in /usr/share/spamassassin/
my setting is for server wide nothing local

Thanks
Ed

PS I did restart sa after I added it
service spamassassin restart
/etc/rc.d/init.d/spamassassin restart
Either works to restart SA




jdow <jdow@earthlink.net> wrote:From: "Ed BK"

> I am trying to write a test rule but it will not work
>
> example
> body LOCAL_DEMONSTRATION_RULE /test/
> score LOCAL_DEMONSTRATION_RULE 5.0
> describe LOCAL_DEMONSTRATION_RULE My test rule
>
> I put this in a file named my_rules.cf in
> /etc/mail/spamassassin/
> and then run
> service spamassassin restart
>
> My hits is set to only 4.5
>
> I then send a email from outside the server with test in the body
> but it does not seem to be work
>
> any idea why?
> Thanks
> Ed
> (spamassasin is working the header in the email scores it 3.1)
>
> also I get a mailbox full bounce sometimes from
> Mailer-Daemon@rhnet.org
> what does this address have to do with the SA list?

WAY WAY too little information to diagnose the problem. Perhaps the first
thing I would do is try to figure out why the rule is not getting parsed.
"spamassassin --lint" might find an error earlier in the scanning process
that is killing you.

Are you using spamd? Are you using spamassassin in a global procmailrc?
Are you using it with QMAIL? Are you using spamassassin in a local
.procmailrc? Er, just how in heck ARE you using it?

{^_-}


---------------------------------
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster.