Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Mar 2002 12:38:40 +0100 (CET)
From:      Leif Neland <leifn@neland.dk>
To:        Andre Fortin <apfortin@cyberbeach.net>
Cc:        <freebsd-isp@FreeBSD.ORG>
Subject:   Re: Sendmail prematurely failing send attempts
Message-ID:  <20020304123302.S71173-100000@arnold.neland.dk>
In-Reply-To: <NDBBJAKLELDAGKJFOEIAGEHNEJAA.apfortin@cyberbeach.net>

next in thread | previous in thread | raw e-mail | index | archive | help


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




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