Yeah, I was going to comment that the rule might be a little over-
enthusiastic. A little extra context checking for the http followed
by the .abc.com part followed by whitespace might be a little better.

On the other hand, if it passes lint there is nothing wrong with it.
Watch for false alarms and when you see one fix it.

{^_^}
----- Original Message ----- From: "Randal, Phil" <[EMAIL PROTECTED]>


A uri rule would make more sense.

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

Phil

-----Original Message-----
From: Diptanjan [mailto:[EMAIL PROTECTED]
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

Reply via email to