I am having problems getting logging to work.

I am using SA 3.02 on RHEL3. SA is working. Mail headers show the headers such as:

X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on server.domain.org
X-Spam-Level:
X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, SGID_FROM_MTA_HEADER,NO_REAL_NAME autolearn=ham version=3.0.2


Bayesian learning appears to be working since the command sa-learn --dump magic shows the numbers for ham and spam incrementing.

I am using spamd with the following parameters:
spamd -d -c -m5 -H -s local5


In syslog.conf I have the following:

local5.* /var/log/spamd.log


I changed the configuration to use syslog hoping it would start logging the spamd messages. Before setting up syslog for this, I did not get any of the messages in maillog either.


The syslog settings seem to be working since I see messages such as these if I issue the command spamassassin restart:

Mar 22 11:02:43 server spamd[28444]: spamd starting
Mar 22 11:02:44 server spamd[28446]: server started on port 783/tcp (running version 3.0.2)
Mar 22 11:02:44 server spamd[28446]: server successfully spawned child process, pid 28449
Mar 22 11:02:44 server spamd[28446]: server successfully spawned child process, pid 28450
Mar 22 11:02:44 server spamd[28446]: server successfully spawned child process, pid 28451
Mar 22 11:02:44 server spamd[28446]: server successfully spawned child process, pid 28452
Mar 22 11:02:44 server spamd[28446]: server successfully spawned child process, pid 28453


What am I missing?



Reply via email to