[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /var/log/mail.err log being spammed



On Thursday 03 December 2015 11:18:20 Dan Ritter wrote:

> 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-

I've put that into .procmailrc, but traffic has dropped off, so its not 
yet tested.  According to the docs, it cannot be turned off.  HOWEVER, I 
just got a fresh email, and it did not add a line to that log as it 
processed the msg.

So it sounds as if I owe you a tip of the hat and a Thank You.

And 5 hours later, still no additional log entries.  The 5 hour delay?  I 
had to go put our local AM radio station back on the air.  And my wallet 
is a tiny bit thicker. :)

Thank You, Dan.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>


Reply to: