On Mon, 19 Jan 2004, Ron Gilbert wrote:

> I have two questions:
>
> 1) Where do i put new rules, or changes to scores.  I have heard several
> different things, and I'm sure there are reason for each, but i can't figure
> it out.  As far as i ca tell, there is (RH9):

They have different purposes.

> ~/.spamassassin/user_prefs

That's for settings that affect only your user.  Since it's a single user
system, you could put them there if you wanted to.  However, that file is
loaded and parsed again for every email, so it'll slow things down if you store
your settings there.

> /usr/share/spamassassin

Those are spamassassin's builtin rules and configuration.  It's strongly
recommended that you not keep your own configuration there, because it will be
completely wiped whenever you upgrade spamassassin.  Also, it makes it harder
to keep track of what's your own.  Loaded only when you start spamd.  If you do
make any changes (don't) you'll have to restart spamd for them to take effect.

> /etc/mail/spamassassin

System wide configuration.  For you, this is the right place to put your
changes.  After making your changes, be sure to run "spamassassin --lint" to
make sure there are no errors.  Then you can reload the files by restarting
spamd.  They'll only be reloaded when you start spamd, not every time a message
comes in, so it should be faster.

> Are there others?
>
> I am the only user on the machine.
>
> And the second questions is when i add a new .cf file, or change an existing
> one (including user_prefs), do i need to restart spamd?  Is there some kind of
> log file generated that will tell me when/if my new rules have been read?
>
> Thanks, Ron
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> Spamassassin-talk mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/spamassassin-talk
>

-- 
Adam Lopresto
http://cec.wustl.edu/~adam/

Coffee:  Good to the last drop, and I intend to be the last to drop.


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to