Mailing List Archive

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 [ In reply to ]
Never add anything to the distributed .cf files. Your additions should go
in .cf files in /etc/mail/spamassassin.

kill -HUP spamd should reread the config files.

Phil

---------------------------------------------
Phil Randal
Network Engineer
Herefordshire Council
Hereford, UK
-----Original Message-----
From: Bryan Haase [mailto:BHaase@good-sam.com]
Sent: 13 February 2004 14:49
To: spamassassin-users@incubator.apache.org
Subject: 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 [ In reply to ]
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)
Re: Question about restarting spam assassin [ In reply to ]
What is the command to restart spamd if we are using spamc? Would it be the following? Anyway to find out what the switches do?
spamd -d -x -u nobody

Here is the current systems as far as I know, hopes this helps in finding the file who spam assassin forwards email to.
InterScan v3.8 for UNIX is an Internet virus scanning package.
POSTFIX
PROCMAIL
SPAMASSASSIN 2.6
Netscape Messaging server 4.15p7

--Bryan



>>> Matt Kettler <mkettler_sa@comcast.net> 02/13/04 09:07AM >>>
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)