Date: Sun, 20 Oct 2002 18:04:03 -0500 From: Doug Lee <dgl@visi.com> To: Ceri Davies <setantae@submonkey.net> Cc: freebsd-questions@freebsd.org Subject: Re: fetchmail protocol error caused by DNS timeout - solution? Message-ID: <20021020230403.GA21741@isis.visi.com> In-Reply-To: <20021020215416.GB33135@submonkey.net> References: <20021020215055.GA586@kirk.dlee.org> <20021020215416.GB33135@submonkey.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Oct 20, 2002 at 10:54:16PM +0100, Ceri Davies wrote: > On Sun, Oct 20, 2002 at 05:50:55PM -0400, Doug Lee wrote: > > Some spam messages I get come from invalid ips (here I mean ips > > which have no rDNS mapping) which, when looked up in DNS, cause > > very long pauses in processing. When this happens during a run of > > ``fetchmail,'' the fetchmail session dies (after DNS returns) with > > a protocol error, presumably because the mail server at the other > > end of the fetchmail connection gave up waiting for my system to > > continue downloading messages. I don't see any settings for > > ``fetchmail'' or ``named'' (I run my own nameserver) that might > > help me... > > > > So I am seeking a solution here. Please respond directly to me to > > make sure I don't miss the reply; copying the list is also fine with > > me, since I run a ``procmail'' rule that obliterates dups anyway. :) > > I think the best you could do would be to make use of the "no dns" option, > but looking at the manpage this may have other implications, so check that Tried that but it had no visible effect; the same message I mentioned in my second message in this thread still plugs up the fetchmail retrieve. I wonder if it's ``sendmail'' that's doing the troublesome DNS, making ``fetchmail'' wait and thus causing the whole chain reaction? To try to avoid that scenario, I've long been running sendmail with the following two .mc options: FEATURE(`accept_unqualified_senders') FEATURE(`accept_unresolvable_domains') but still the problem bites me! I just realized I'm also using FEATURE(blacklist_recipients) which I'll now disable to see if that helps... -- Doug Lee dgl@visi.com http://www.visi.com/~dgl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021020230403.GA21741>