Hi,

I have this script to log spamassain in multilog format so it can
be read by qmailmrtg7 for statistics.

I use spamassassin option to send the log information
to stdout. Then pipe that to multilog. Then point qmailmrtg7
at that multilog directory.
Like so:

        spamd -c -v -u vpopmail -s stderr -r /var/run/spamd.pid \
        --socketpath=/tmp/spamd.sock 2>&1 | \
        /usr/local/bin/setuidgid qmaill \
        /usr/local/bin/multilog t n20 s1000000 /var/log/spamd &

Problem is: if i insert the script in spamassassin ctl, it won't start.
If i run it manually, it only logs the starup and the shutdown of the spamd 
daemon.

Does anyone knows the right way to use this script ?
I mean, if it is right in the fisrt place.

Any help would be appreciated.

Warm Regards,
M�rio Gamito


Reply via email to