You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Noc Phibee <no...@phibee.net> on 2005/12/02 10:41:16 UTC

Spamassassin with daemontools ?

Hi

actually, i run SpamAssassin 3.0.4 with Daemontools (/service/spamassassin)

I start the installation of a new server with 3.1.0 version ;=)
What do you thinks that start SpamAssassin 3.1.0 by daemontools ?
it's best or no change of traditionnal /etc/init.d/spamassassin ?

Thanks

Re: Spamassassin with daemontools ?

Posted by Aiko Barz <ai...@haeckser.de>.
Maurice Lucas wrote:
> cat spamd/log/run
> #!/bin/sh
> exec setuidgid spamdlog multilog \
>        t s5242880 n20 '+*' !/usr/bin/bzip2 /var/log/spamd \
>        t s1048576 n5 '-*' '+*info: spamd: identified spam*'
> /var/log/spamd/spam \
>        t s1048576 n5 '-*' '+*info: spamd: clean message*'
> /var/log/spamd/clean

Interesting.

I use qmailmrtg7[1] to analyse /var/log/spamd. Nice tool.

Bye,
	Aiko

[1] http://inter7.com/index.php?page=qmailmrtg7

-- 
Aiko Barz <ai...@haeckser.de>
Web: http://www.haeckser.de

Re: Spamassassin with daemontools ?

Posted by Maurice Lucas <ms...@taos-it.nl>.
Noc Phibee wrote:
> Hi
>
> actually, i run SpamAssassin 3.0.4 with Daemontools
> (/service/spamassassin)
> I start the installation of a new server with 3.1.0 version ;=)
> What do you thinks that start SpamAssassin 3.1.0 by daemontools ?
> it's best or no change of traditionnal /etc/init.d/spamassassin ?


cat spamd/run
#!/bin/sh
#
# -m num, --max-children num         Allow maximum num children
# -a, --auto-whitelist, --whitelist  Use auto-whitelists
# -s facility, --syslog=facility     Specify the syslog facility (default: 
mail)

exec 2>&1
exec /usr/local/bin/spamd -D -m 10 -u spamd -s stderr

cat spamd/log/run
#!/bin/sh
exec setuidgid spamdlog multilog \
        t s5242880 n20 '+*' !/usr/bin/bzip2 /var/log/spamd \
        t s1048576 n5 '-*' '+*info: spamd: identified spam*' 
/var/log/spamd/spam \
        t s1048576 n5 '-*' '+*info: spamd: clean message*' 
/var/log/spamd/clean

with kind regards,
Met vriendelijke groet,

Maurice Lucas
TAOS-IT