On 11/10/06, Theo Van Dinter <[EMAIL PROTECTED]> wrote:
On Fri, Nov 10, 2006 at 11:31:05AM +1300, Simon wrote:
> - How do i confirm that SA is using the rulesets from sa-update?
spamassassin --lint -D
> - If i want to put in some custom ones... where is the best to do this?
/etc/mail/spamassassin
> - Do i put any custom stuff in one file and get it to load last? (Best
> practice?)
You can put it in any files you want. /etc/mail/spamassassin/*.cf is read
last.
Cool - so to build a custom rule to block emails with a subject:
It's Johnny :)
It's David :)
It's Sue :)
Etc...
I create a file /etc/mail/spamassassin/custom_sa_rules
And put this in?
header ITS_NAME_SMILEY Subject =~ /\bIt\'s\b\:)/i
describe ITS_NAME_SMILEY Its Name Smiley in Subject
score ITS_NAME_SMILEY 6.5
?
Thanks
Simon