Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Mar 2002 09:21:44 -0500
From:      Bill Vermillion <bv@wjv.com>
To:        freebsd-isp@freebsd.org
Subject:   Re: Sendmail prematurely failing send attempts
Message-ID:  <20020304142144.GB30857@wjv.com>
In-Reply-To: <20020304123302.S71173-100000@arnold.neland.dk>
References:  <NDBBJAKLELDAGKJFOEIAGEHNEJAA.apfortin@cyberbeach.net> <20020304123302.S71173-100000@arnold.neland.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 04, 2002 at 12:38:40PM +0100, Leif Neland thus spoke:
> 

> On Thu, 21 Feb 2002, Andre Fortin wrote:

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

[deletia]

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

And if you look in /etc/periodic/daily there is a file called
150.clean-hoststat that references the file /var/run/.hoststat, so
in a default operations things will usually recover overnight.

Bill
-- 
Bill Vermillion - bv @ wjv . com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020304142144.GB30857>