On Thu, Dec 03, 2015 at 10:50:35AM -0500, Gene Heskett wrote: > Greetings all; > > I am using procmail for my MTA which also attempts to run the incoming > stuff thru some filters, like spamc/spamd. > > In pursuing an attempt to put dovecot to work as a local server, I find > my /var/log/mail.err log is being spammed once for every incoming email. > > The log looks like this: > > Dec 3 10:38:34 coyote spamc[6292]: connect to spamd on ::1 failed, > retrying (#1 of 3): Connection refused > Dec 3 10:38:35 coyote spamc[6303]: connect to spamd on ::1 failed, > retrying (#1 of 3): Connection refused > Dec 3 10:38:36 coyote spamc[6324]: connect to spamd on ::1 failed, > retrying (#1 of 3): Connection refused > Dec 3 10:47:43 coyote spamc[6635]: connect to spamd on ::1 failed, > retrying (#1 of 3): Connection refused > Dec 3 10:47:43 coyote spamc[6650]: connect to spamd on ::1 failed, > retrying (#1 of 3): Connection refused > Dec 3 10:47:44 coyote spamc[6667]: connect to spamd on ::1 failed, > retrying (#1 of 3): Connection refused > > Is there a fix for this, like procmail is miss-configured? First, there > aren't any ipv6 addresses on my local network, and that looks like an > ipv6 shortcut addy above. >
It's more likely that spamc is misconfigured to try to reach spamd on ::1, which is the IPv6 equivalent of 127.0.0.1. Try calling spamc with "-d 127.0.0.1", see if that solves it. -dsr-