spamassassin-users October 2010 archive
Main Archive Page > Month Archives  > spamassassin-users archives
spamassassin-users: Re: --timeout-child=secs

Re: --timeout-child=secs

From: Keith De Souza <kbdesouza_at_nospam>
Date: Thu Oct 28 2010 - 23:28:35 GMT
To: gary.smith@holdstead.com

>>On 29 October 2010 00:19, Gary Smith <gary.smith@holdstead.com> wrote:

> >>Check /etc/sysconfig/spamassassin config file

Hi Gary,

Thanks for your swift response, unfortunately I dont seem to have the
sysconfig directory.
If it helps, the linux distro running is Debian Lenny. Any more thoughts?

Many thanks

Keith

> ------------------------------
> *From: * Keith De Souza <kbdesouza@googlemail.com>
> *Date: *Fri, 29 Oct 2010 00:17:11 +0100
> *To: *<users@spamassassin.apache.org>
> *Subject: *--timeout-child=secs
>
> Hi Users,
>
> ======
> SpamAssassin version 3.2.5
> running on Perl version 5.10.0
> ======
>
> I'm pretty new to spamassassin and recently been asked to change the flag
> timeout-child
> to 180 seconds, its currently set to to 60.
>
> I've googled this and some say that this can be changed in
> /etc/conf.d/spamd however
> I don't seem to have this file.
>
> I've tried using spamd --timeout-child=180 afterwhich i ran a ps aux | grep
> spamd
> and here are my results:
>
> ======
> root 15967 0.1 0.3 31732 29268 ? Ss Oct28 0:01
> /usr/sbin/spamd --create-prefs --max-children 8 -u mail --helper-home-dir
> *--timeout-child=180 *-d --pidfile=/var/run/spamd.pid
> ======
>
> However when I restart the spamassassin deamon and run ps aux | grep spamd,
> it goes back to what it was set before the my change:
>
> ======
> root 15967 0.1 0.3 31732 29268 ? Ss Oct28 0:01
> /usr/sbin/spamd --create-prefs --max-children 8 -u mail --helper-home-dir
> *--timeout-child=60* -d --pidfile=/var/run/spamd.pid
> ======
>
> So it does seem to have a config file for where it is reading from. My
> question is:
>
> 1. Where would it be?
>
> or
>
> 2. How do I find it?
>
> As mentioned, I'm pretty new at this so if you need me to provided further
> details please let me know.
>
> Many Thanks
>
> Keith
>
>