You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Duane Hill <d....@yournetplus.com> on 2009/05/05 18:33:32 UTC

Re: Error: "spamc: connection attempt to spamd aborted after 3 retries"

On Tue, 5 May 2009, Alejandro Cabrera Obed wrote:

> People, I've followed your advice and I've noticed that spamc is called from
> Postfix in /etc/postfix/master.cf:
> 
> spamassassin    unix    -       n       n       -       -       pipe
>  user=nobody argv=/usr/bin/spamc -d 127.0.0.1 -e /usr/sbin/sendmail -oi -f
> ${sender} ${recipient}
> 
> but this line is the same than the backup I have when the mail system worked
> fine, no changes at all.
> 
> And I repeat the /etc/default/spamassassin:
> 
> ENABLED=1
> OPTIONS="--create-prefs --socketpath -U amavis --max-children 5
> --helper-home-dir"
> PIDFILE="/var/run/spamd.pid"
> 
> What else can I do please ???

You have spamd starting up on a socket yet in your Postfix you are 
attempting to connect to spamd via tcp. You need to specify:

     spamc -U <path_to_the_socket>

instead of:

     spamc -d 127.0.0.1