From owner-freebsd-questions@FreeBSD.ORG Wed Oct 4 08:27:58 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 EB29016A47B for ; Wed, 4 Oct 2006 08:27:58 +0000 (UTC) (envelope-from mikhailg@webanoide.org) Received: from overlord.navalradio.cl (overlord.navalradio.cl [201.236.67.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id D83E743D62 for ; Wed, 4 Oct 2006 08:27:50 +0000 (GMT) (envelope-from mikhailg@webanoide.org) Received: from [192.168.0.2] (shanshito.webanoide.org [150.101.108.110] (may be forged)) (authenticated bits=0) by overlord.navalradio.cl (8.13.6/8.13.6) with ESMTP id k948RYoJ029262; Wed, 4 Oct 2006 04:27:37 -0400 (CLT) (envelope-from mikhailg@webanoide.org) Message-ID: <45237077.9000005@webanoide.org> Date: Wed, 04 Oct 2006 19:27:35 +1100 From: Mikhail Goriachev Organization: Webanoide User-Agent: Thunderbird 1.5.0.7 (Macintosh/20060909) MIME-Version: 1.0 To: Karsten Fuhrmann References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.56 on 201.236.67.146 X-Spam-Status: No, score=-100.0 required=5.0 tests=USER_IN_WHITELIST autolearn=failed version=3.1.4 X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-25) on overlord.navalradio.cl Cc: freebsd-questions@freebsd.org Subject: Re: fetchmail -> sendmail problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2006 08:27:59 -0000 Karsten Fuhrmann wrote: > Hello, > i have a problem with some strange spam emails, which lock up my > email reception. > The problem is the following : I am using fetchmail to download my > email (from a pop3 server), and fetchmail passes the email to my > local sendmail daemon who gives it to my local imap server (cyrus). > This works fine. But sometimes i got a spam email, which has an > unresolveable dns origin, and this makes my sendmail crazy in a way, > that sendmail wants to resolve but gets a timeout (around 20s). In > the meantime the fetchmail which is actualy waiting for sendmail to > accept the message gets a timeout from the pop server where it is > connected to. > Because of that timeout fetchmail stops receiving email from pop > server and tries again next time, but next time it will start with > the same spam email again, and it all starts again, actually no more > new mails will arrive until i delete this particular email from the > pop server manually. > > Is there a way to tweak the timeout behavior of sendmail, or maybe > even no dns resolve option for sendmail, or even better some way to > tell fetchmail to use the idle command to keep the connectio to the > pop server open ? Add this to your .mc file: FEATURE(accept_unresolvable_domains) and let us know how it goes. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: mikhailg@webanoide.org Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B