outgoing mail STOPPED.

Bill Moran wmoran at potentialtech.com
Thu Jan 3 14:48:09 PST 2008


In response to Gary Kline <kline at magnesium.net>:

> On Thu, Jan 03, 2008 at 05:06:49PM -0500, Bill Moran wrote:
> > In response to Gary Kline <kline at magnesium.net>:
> > 
> > > 
> > > 	I stumpped.   I get incomiing ail, but nothing gets out from my 
> > > 	private networked servers. Anybody know where to start figuring out why??
> > 
> > Have you checked /var/log/maillog?

This is what I was looking for.  See inline comments:

> MORE::
> 
> 
> Jan  3 14:27:54 sage sendmail[17367]: m03MRshQ017367: <-- MAIL From:<kline at sage.thought.org> SIZE=635
> Jan  3 14:27:54 sage sendmail[17367]: m03MRshQ017367: --- 250 2.1.0 <kline at sage.thought.org>... Sender ok
> Jan  3 14:27:54 sage sendmail[17367]: m03MRshQ017367: <-- RCPT To:<freebsd-questions at FreeBSD.ORG>
> Jan  3 14:27:54 sage sendmail[17367]: m03MRshQ017367: --- 250 2.1.5 <freebsd-questions at FreeBSD.ORG>... Recipient ok
> Jan  3 14:27:54 sage sendmail[17367]: m03MRshQ017367: <-- DATA
> Jan  3 14:27:54 sage sendmail[17367]: m03MRshQ017367: --- 354 Enter mail, end with "." on a line by itself
> Jan  3 14:27:54 sage sendmail[17367]: m03MRshQ017367: from=<kline at sage.thought.org>, size=843, class=0, nrcpts=1, msgid=<20080103222753.GA17358 at thought.org>, proto=ESMTP, daemon=Daemon0, relay=kline at localhost [127.0.0.1]
> Jan  3 14:27:54 sage sendmail[17367]: m03MRshQ017367: --- 250 2.0.0 m03MRshQ017367 Message accepted for delivery
> Jan  3 14:27:54 sage sendmail[17366]: m03MRsC6017366: to=freebsd-questions at FreeBSD.ORG, ctladdr=kline (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30635, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m03MRshQ017367 Message accepted for delivery)
> Jan  3 14:27:54 sage sendmail[17367]: m03MRshR017367: <-- QUIT
> Jan  3 14:27:54 sage sendmail[17367]: m03MRshR017367: --- 221 2.0.0 sage.thought.org closing connection
> Jan  3 14:27:54 sage sendmail[17370]: m03MRshQ017367: --- 050 <freebsd-questions at FreeBSD.ORG>... Connecting to mx1.freebsd.org. via esmtp...
> Jan  3 14:27:54 sage sendmail[17370]: m03MRshQ017367: makeconnection (mx1.freebsd.org. [IPv6:2001:4f8:fff6::34]) failed: No route to host
                   ^^^^^^^^^^^^^^^^^^^^^^
Here it's trying to connect the the IPv6 address for mx1.freebsd.org but
is unable to.  I'm going to go out with a limb and guess that you're not
using IPv6 yet.  Apparently you can add the following to your cf file:
DAEMON_OPTIONS(`Family=inet, Name=MTA')
CLIENT_OPTIONS(`Family=inet, Name=MTA')

But I'm not a sendmail expert, so I can't verify that this information
is correct.

> Jan  3 14:27:54 sage sendmail[17370]: m03MRshQ017367: SMTP outgoing connect on ns1
> Jan  3 14:27:55 sage sendmail[17370]: m03MRshQ017367: --- 050 <freebsd-questions at FreeBSD.ORG>... Deferred: 450 4.7.1 <freebsd-questions at FreeBSD.ORG>: Recipient address rejected: Service is unavailable

Why is this machine falling back to send mail via ns1?  If that's
intended, then ns1 needs to be configured to accept mail from this
system and act as a relay.

> Jan  3 14:27:55 sage sendmail[17370]: m03MRshQ017367: to=<freebsd-questions at FreeBSD.ORG>, ctladdr=<kline at sage.thought.org> (1001/1001), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=30843, relay=mx1.freebsd.org. [69.147.83.52], dsn=4.7.1, stat=Deferred: 450 4.7.1 <freebsd-questions at FreeBSD.ORG>: Recipient address rejected: Service is unavailable
> Jan  3 14:27:55 sage sendmail[17370]: NOQUEUE: --- 050 Closing connection to mx1.freebsd.org.
> 
> 	I don't understand why freebsd.org seems "unreachable"a Do I have to configure IPv6?

No, but apparently you need to tell sendmail that you haven't configured
IPv6.  Unless you're _trying_ to use IPv6, in which case there would
appear to be something wrong with you IPv6 config.

-- 
Bill Moran
http://www.potentialtech.com


More information about the freebsd-questions mailing list