From owner-freebsd-isp Mon Mar 4 3:37:43 2002 Delivered-To: freebsd-isp@freebsd.org Received: from arnold.neland.dk (0x3ef34dcd.albnxx2.adsl.tele.dk [62.243.77.205]) by hub.freebsd.org (Postfix) with ESMTP id 28D1B37B400 for ; Mon, 4 Mar 2002 03:37:37 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by arnold.neland.dk (8.12.2/8.12.2) with ESMTP id g24BceQd072092; Mon, 4 Mar 2002 12:38:41 +0100 (CET) (envelope-from leifn@neland.dk) Date: Mon, 4 Mar 2002 12:38:40 +0100 (CET) From: Leif Neland To: Andre Fortin Cc: Subject: Re: Sendmail prematurely failing send attempts In-Reply-To: Message-ID: <20020304123302.S71173-100000@arnold.neland.dk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 21 Feb 2002, Andre Fortin wrote: > Hello, > > I'm running sendmail 8.11.6 on a FreeBSD 4.5-STABLE system. I'm having a > problem with one particular ISP, when sending mail to them. Earlier, the > ISP had a lame DNS entry for their mail server, and my sendmail system > started deferring messages destined to that ISP. The problem is, the DNS is > fine now, and I can even telnet to port 25 on that mail server from my mail > server. MX lookups are also fine. Everything seems AOK. The problem is, > even after totally wiping(actually, I just moved) the queue, the messages > are still being deferred, with the error 'stat=Deferred: Operation timed out > with mail.otherisp.com.'. This is odd considering a telnet session to that > ISP works perfectly fine.. > > I have restarted the sendmail daemon, killed it and waited for all processes > to end, waited a bit longer, turned it back on, with the same result. > Starting sendmail with -X shows that there is absolutely no exchange of data > between our mail server and theirs. netstat -an shows no active or > TIME_WAIT connections to their mail server... Sendmail simply isnt even > trying at all... Forcing with sendmail -qRisp.com simply spits out a bunch > of 'deferred' messages and never even tries the first time. The only thing > I can think of that I haven't done is reboot the whole server, however I'd > like to avoid that if I can(its bad enough I have to shut down a server with > a 400 day uptime on it soon due to a movie, I want to build up a new > high-uptime FBSD machine as soon as possible :)). > > Anyone have any ideas? > The mail has probably been delivered by now, but for the archives: Sendmail keeps records of the outgoing connection(-attempts), so several simultaneously running invocations of sendmail (queuerunners) are trying the same host. So when a host is marked down, sendmail won't try it for a while. Look in sendmail.cw for "O HostStatusDirectory" There you will find a directory of the reversed hostnames. For instance I might have /var/run/hoststat/org./freebsd./mail. Delete that file for instant retry. Leif > Thanks in advance, > > Andre > apfortin@cyberbeach.net > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message