spamc[5442]: connect to spamd on ::1 failed, retrying (#1 of 3): Connection refused

Questions related to the Postfix mail server
Post Reply
mister_v
Posts: 181
Joined: Thu Mar 04, 2010 9:19 pm

spamc[5442]: connect to spamd on ::1 failed, retrying (#1 of 3): Connection refused

Post by mister_v »

I have several of the following meesages in /var/log/mail.err.

Code: Select all

 spamc[5442]: connect to spamd on ::1 failed, retrying (#1 of 3): Connection refused
anyone know the cause of this ?
chris
Site Admin
Posts: 183
Joined: Mon Jul 21, 2008 9:52 am

Re: spamc[5442]: connect to spamd on ::1 failed, retrying (#1 of 3): Connection refused

Post by chris »

you are trying to connect to the spamd daemon on IPv6.
Probably only IPv4 is working.

configure spamassassin to only use IPv4
Add in file /etc/mail/spamassassin/spamc.conf:

Code: Select all

-d 127.0.0.1
This worked for me.
Post Reply