You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Rejaine Monteiro <re...@bhz.jamef.com.br> on 2006/11/24 14:03:27 UTC

Re: [solved] onnection attempt to spamd aborted after 3 retries

forget about it...
I modified the source code <libspamc.c> in line:
#define MAX_CONNECT_RETRIES 3
to
#define MAX_CONNECT_RETRIES 30

And recompiled spamc binary...

Works  fine now...

Rejaine Monteiro escreveu:
> Sometimes, I give this errors:
>
> Nov 24 10:26:44 server spamc[31357]: connect(AF_INET) to spamd at 
> 127.0.0.1 failed, retrying (#1 of 3): Connection refused
> Nov 24 10:26:45 server spamc[31357]: connect(AF_INET) to spamd at 
> 127.0.0.1 failed, retrying (#2 of 3): Connection refused
> Nov 24 10:26:46 server spamc[31357]: connect(AF_INET) to spamd at 
> 127.0.0.1 failed, retrying (#3 of 3): Connection refused
> Nov 24 10:26:47 server spamc[31357]: connection attempt to spamd 
> aborted after 3 retries
>
> But how can I increase attempts to connect to spamd at 127.0.0.1 to 
> more than 3 times (20 times for example)?
> This would go to give time to a software monitor (like Nagios or MON) 
> to solve the problem.
>
> Thanks...
>