You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Bryan Haase <BH...@good-sam.com> on 2004/02/13 15:48:31 UTC
Question about restarting spam assassin
I am new to spam assassin... I am adding lines to the 60_whitelist.cf.
Question 1= Do I need to restart anything service for these new sites to be added?
Question 1a=IF the above is no, when do you need to restart Spam Assassin?
Question 2= After googling... I found this [ spamd -d -x -u nobody ] I am unable to find out what the switches do is there someplace that would list this?
New Question �
The system was previously setup and forwards all mail to "mailbox A", which is a users name, I would like to change that to "mailbox B" , which would be a generic account.
Question 1= How do I do this?
Question 2= Do I need to restart anything?
New Question �
Since I am new, what would be a good site(s) to read to catch me up to speed.
Thanks in Advance for any wisdom given!
--Bryan
Re: Question about restarting spam assassin
Posted by Matt Kettler <mk...@comcast.net>.
At 08:48 AM 2/13/04 -0600, Bryan Haase wrote:
>I am new to spam assassin... I am adding lines to the 60_whitelist.cf.
Stop... don't edit any files in /usr/share/spamassassin unless you know the
implications of doing so.
Create a /etc/mail/spamassassin/local.cf and put your custom settings there.
ALL FILES in /usr/share/spamassassin will be deleted when you upgrade
spamassassin.
In general only make changes to /usr/share/spamassassin when you know that
you want the changes to be obliterated when you upgrade.
(For example, I sometimes take a fixed version of a rule from CVS and
replace the one in /usr/share/spamassassin/. I know that when I next
upgrade, the fix will be included, so wiping out the change is what I
really want to do. These kinds of short term "fixing it until the next
release comes out" type situations are pretty much the only time you should
consider editing files in /usr/share/spamassassin)
>
>Question 1= Do I need to restart anything service for these new sites to
>be added?
> Question 1a=IF the above is no, when do you need to restart
> Spam Assassin?
>Question 2= After googling... I found this [ spamd -d -x -u nobody ] I am
>unable to find out what the switches do is there someplace that would list
>this?
Ok, restarting spamassassin all depends on how you call spamassassin.
If you use the spamassassin command line, you don't need spamd, and nothing
needs restarting, since nothing stays running.
If you use spamc, then spamd must be running on your system, and spamd must
be restarted when you edit your config.
>New Question
>The system was previously setup and forwards all mail to "mailbox A",
>which is a users name, I would like to change that to "mailbox B" , which
>would be a generic account.
>Question 1= How do I do this?
>Question 2= Do I need to restart anything?
The answer to both depends on what mail tools you are using. Tell us a bit
about your system.. is it sendmail, postfix, qmail, exim? are you using
procmail? any scanning integration tools (ie: amavis, mailscanner, mimedefang)