Link to home
Start Free TrialLog in
Avatar of ChanYiuPong
ChanYiuPong

asked on

spamassassin rules

I want to set rules to block email content with a line
all 50 % off - (follow by a url link)

am I correct to add the lines to the local.cf

body TEST_XXX /all 50 % off -/
describe TEST_XXX bad-email
score TEST_XXX 10
ASKER CERTIFIED SOLUTION
Avatar of pjedmond
pjedmond
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ChanYiuPong
ChanYiuPong

ASKER

pjedmond,

do you mean the file local.cf ?
Yes - well done for spotting the deliberate mistake:)

The:

/etc/mail/spamassassin/local.cf

file (or the local.cf spamassassin file for the system)