Yes, that's the way most rules that users add themselves are done (ie: the ones in local.cf and user_prefs files, instead of the SA-packaged files in /usr/share/spamassassin)

Usually only the master /usr/share/spamassassin/*.cf files are set up with a separate score file to facilitate the use of the GA on them, and you can replicated that behavior in your /etc/mail/spamassassin, or just create one file, local.cf, like most people do.


p.s. if you're adding your own rules to /usr/share/spamasassin, please consider using /etc/mail/spamassassin/ instead.

The files in /usr/share/spamassassin will be obliterated when you upgrade SA versions, thus should only contain the "factory default" ruleset, with score-over-rides done in your local.cf. There should be no need to ever edit anything in /usr/share/spamassassin


At 12:20 AM 12/12/2002 +0000, Gurujiwan Khalsa wrote:
Hi,

I thought I once saw a spamassasin .cf file with the "score" of a rule inside the same file that defined it. Is this possible?

uri WWW_FREE-IREWARDS_COM /www.free-irewards.com/is
describe WWW_FREE-IREWARDS_COM they are spammers
score WWW_FREE-IREWARDS_COM 6


-- Gurujiwan




_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail



-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk


-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to