From owner-freebsd-questions Sun Oct 20 14:58:52 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9139B37B401 for ; Sun, 20 Oct 2002 14:58:50 -0700 (PDT) Received: from kirk.dlee.org (pool-138-88-45-176.res.east.verizon.net [138.88.45.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 647F243E3B for ; Sun, 20 Oct 2002 14:58:49 -0700 (PDT) (envelope-from dgl@kirk.dlee.org) Received: from kirk.dlee.org (dgl@pool-138-88-45-176.res.east.verizon.net [138.88.45.176]) by kirk.dlee.org (8.12.5/8.12.5) with ESMTP id g9KLwmTN000964 for ; Sun, 20 Oct 2002 17:58:48 -0400 (EDT) (envelope-from dgl@kirk.dlee.org) Received: (from dgl@localhost) by kirk.dlee.org (8.12.5/8.12.5/Submit) id g9KLwmJR000963 for freebsd-questions@freebsd.org; Sun, 20 Oct 2002 17:58:48 -0400 (EDT) (envelope-from dgl) Date: Sun, 20 Oct 2002 17:58:47 -0400 From: Doug Lee To: freebsd-questions@freebsd.org Subject: Re: fetchmail protocol error caused by DNS timeout - solution? Message-ID: <20021020215847.GA936@kirk.dlee.org> Mail-Followup-To: Doug Lee , freebsd-questions@freebsd.org References: <20021020215055.GA586@kirk.dlee.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021020215055.GA586@kirk.dlee.org> User-Agent: Mutt/1.3.25i Organization: Bartimaeus Group Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG CORRECTION: It's not an rDNS lookup that's causing my problem; it's a straight DNS lookup of the From: address, I think. Example: I just spotted a message coming in from m7.shineandsparkle.com which plugged up my ``fetchmail'' download (I have to go to the source mailbox and hand-delete the thing to get the rest of them to come in by fetchmail). Pinging m7.shineandsparkle.com causes a long pause followed by ping: cannot resolve m7.shineandsparkle.com.: Host name lookup failure It appears that the same DNS lookup, when initiated by ``fetchmail,'' is taking so long that the remote mail server gives up waiting, so that when DNS finally quits trying, ``fetchmail'' issues a protocol error, only to try again later and go through the same sequence. Also, this problem is not fixed by using my ISP's DNS server instead of my own. Again, thanks for any help. 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. :) > > > -- > Doug Lee dgl@visi.com http://www.visi.com/~dgl > Bartimaeus Group doug@bartsite.com http://www.bartsite.com > "Nearly all men can stand adversity, but if you want to test a man's > character, give him power." -Abraham Lincoln -- Doug Lee dgl@visi.com http://www.visi.com/~dgl Bartimaeus Group doug@bartsite.com http://www.bartsite.com "It's not easy to be crafty and winsome at the same time, and few accomplish it after the age of six." --D. Sutton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message