There are two configuration paths.  The first is where all of the stock SA.cf 
files are and there other is where the local.cf and custom files are: 
 
the -C overides the default SA.cf path.  You need --config-path and 
--siteconfigpath to be effective with the command line paths.
 
For more details, use "man spamd"
Usage:
    spamd [options]
    Options:
     -a, --auto-whitelist, --whitelist  Use auto-whitelists
     -c, --create-prefs                 Create user preferences files
     -C path, --configpath=path         Path for default config files
     --siteconfigpath=path              Path for site configs (def: 
/etc/mail/spamassassin)
     -d, --daemonize                    Daemonize
     -h, --help                         Print usage message.
     -i ipaddr, --listen-ip=ipaddr,...  Listen on the IP ipaddr (default: 
127.0.0.1)
     -m num, --max-children num         Allow maximum num children
     -p port, --port                    Listen on specified port (default: 783)
     -q, --sql-config                   Enable SQL config (only useful with -x)
     -Q, --setuid-with-sql              Enable SQL config (only useful with -x,
                                        enables use of -a and -H)
     -V, --virtual-config=dir           Enable Virtual configs (needs -x)
     --virtual-config-dir=dir           Enable pattern based Virtual configs 
(needs -x)
     -r pidfile, --pidfile              Write the process id to pidfile
     -s facility, --syslog=facility     Specify the syslog facility (default: 
mail)
     --syslog-socket=type               How to connect to syslogd (default: 
unix)
     -u username, --username=username   Run as username
     -v, --vpopmail                     Enable vpopmail config
     -x, --nouser-config                Disable user config files
     --auth-ident                       Use ident to authenticate spamc user
     --ident-timeout=timeout            Timeout for ident connections
     -A host,..., --allowed-ips=..,..   Limit ip addresses which can connect
     -D, --debug                        Print debugging messages
     -L, --local                        Use local tests only (no DNS)
     -P, --paranoid                     Die upon user errors
     -H dir                             Specify a different HOME directory, 
path optional
     --ssl                              Run an SSL server
     --server-key keyfile               Specify an SSL keyfile
     --server-cert certfile             Specify an SSL certificate
     --socketpath=path                  Listen on given UNIX domain socket

________________________________

From: Brent Kennedy [mailto:[EMAIL PROTECTED]
Sent: Mon 7/12/2004 10:25 AM
To: [EMAIL PROTECTED]
Subject: RE: Problem with new installation of spamassassin



ok I figured out the problem.  I tested with both emails and they went thru,
one detected as spam and the other cleared.  So I decided to changed the way
I started spamd, instead of

"/usr/bin/spamd -a -d -x -D -u spamfilter -C /etc/mail/spamassasin -m 30 &"

I went with

"/usr/local/bin/spamd -a -d -u spamfilter -m 20 &"

now the filter is working.  What is wrong with the above start method?  The
reason i used -C is because it was saying it could not find the config
files.

thoughts?

I cant believe it was something that simple.

-----Original Message-----
From: Dan Kohn [mailto:[EMAIL PROTECTED]
Sent: Sunday, July 11, 2004 11:18 PM
To: Brent Kennedy; [EMAIL PROTECTED]
Subject: RE: Problem with new installation of spamassassin


http://wiki.apache.org/spamassassin/AskingAboutIntegrations
http://wiki.apache.org/spamassassin/HowToTellWhatsGoingOn

Note the presence of sample-spam.txt in the distribution to test
against.

          - dan
--
Dan Kohn <mailto:[EMAIL PROTECTED]>
<http://www.dankohn.com/>  <tel:+1-650-327-2600>

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Brent Kennedy
Sent: Sunday, July 11, 2004 18:19
To: [EMAIL PROTECTED]
Subject: Problem with new installation of spamassassin

I just installed spamassassin 2.63 with all the new versions of DCC,
Pyzor and
Razor2.  I also have postfix 2.1.4 installed and working.  Postfix is
working,
but for some reason, every email sent thru spamassassin using the
master.cf
setup is marked with a score of 0.0.

Thoughts???

I am getting between 150-250 emails a day and i am about to kill
something!!

help... <wimper>



Reply via email to