Quoting Mario Gamito <[EMAIL PROTECTED]>:

Hi,

Sorry for not being so clear in the other mail.

Do you actually mean the command "spamassassin" or spamassassin in general
(spamc/spamd)?
spamd/spamc, and i'd like to log to a specific file i choose.

Is it possible ?

Thank you all for your kind answers.


Yes, it is possible, what i have done is this:

1. Alter spamd startup script and change SPAMDOPTIONS to
   SPAMDOPTIONS="-x -u spamd -H /home/spamd -d --syslog=local0"

2. Edit /etc/syslog.conf and add:
   local0     /var/log/spamassassin/spamd

This causes spamd to log to the file shown above using syslog.

Jim

Reply via email to