On Thu, 01 Jul 2004 16:20:24 +0100 Mario Gamito <[EMAIL PROTECTED]> wrote:

> 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 ?

Yes. Normally spamd logs to syslog, defaulting to the mail facility.
It's easy enough to extract those log entries if you have access to the
logs.

Otherwise, you can use a little-known feature of spamd and send log info
to stderr which you can redirect into a log file. From 'man spamd':

...
       -s facility, --syslog=facility
           Specify the syslog facility to use (default: mail).
           If "stderr" is specified, output will be written to
           stderr.  This is useful if you're running "spamd"
           under the "daemontools" package.
...

hth,

-- Bob

Reply via email to