Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jan 2008 17:48:06 -0500
From:      Bill Moran <wmoran@potentialtech.com>
To:        Gary Kline <kline@magnesium.net>
Cc:        FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG>
Subject:   Re: outgoing mail STOPPED.
Message-ID:  <20080103174806.3d6c1237.wmoran@potentialtech.com>
In-Reply-To: <20080103224103.GD46061@magnesium.net>
References:  <20080103213534.GA43665@magnesium.net> <20080103170649.be4d1493.wmoran@potentialtech.com> <20080103224103.GD46061@magnesium.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In response to Gary Kline <kline@magnesium.net>:

> On Thu, Jan 03, 2008 at 05:06:49PM -0500, Bill Moran wrote:
> > In response to Gary Kline <kline@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@sage.thought.org> SIZE=635
> Jan  3 14:27:54 sage sendmail[17367]: m03MRshQ017367: --- 250 2.1.0 <kline@sage.thought.org>... Sender ok
> Jan  3 14:27:54 sage sendmail[17367]: m03MRshQ017367: <-- RCPT To:<freebsd-questions@FreeBSD.ORG>
> Jan  3 14:27:54 sage sendmail[17367]: m03MRshQ017367: --- 250 2.1.5 <freebsd-questions@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@sage.thought.org>, size=843, class=0, nrcpts=1, msgid=<20080103222753.GA17358@thought.org>, proto=ESMTP, daemon=Daemon0, relay=kline@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@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@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@FreeBSD.ORG>... Deferred: 450 4.7.1 <freebsd-questions@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@FreeBSD.ORG>, ctladdr=<kline@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@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



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