A uri rule would make more sense.

You're going to match xyzabc.com with that rule, too, so think
carefully.

Phil

--
Phil Randal
Network Engineer
Herefordshire Council
Hereford, UK  

> -----Original Message-----
> From: Diptanjan [mailto:[EMAIL PROTECTED] 
> Sent: 21 June 2007 13:40
> To: users@spamassassin.apache.org
> Subject: Setting up a body rule.
> 
> 
> Hi friends,
> I am very new to spamassassin. I want to set up a local rule in
> /etc/mail/spamassassin/local.cf file 
> so that any mail with link in it  http//*.abc.com/* will be 
> blocked and I
> want to give a score of 3.5 to that.
> 
> I have so far written a rule for that but it not working properly. Can
> someone help.
> 
> The rule I have set is :
> 
> body LOCAL_BODY_LINK_BLOCK     /abc\.com/
> score LOCAL_BODY_LINK_BLOCK     3.5
> 
> Is there  wrong in it?
> 
> please advice
> 
> TIA
> 
> diptanjan
> -- 
> View this message in context: 
> http://www.nabble.com/Setting-up-a-body-rule.-tf3958477.html#a11232238
> Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
> 
> 

Reply via email to