postfix, ubuntu+postfix and FBSD+sendmail
Gary Kline
kline at tao.thought.org
Sun Jun 19 21:31:23 GMT 2005
On Mon, Jun 20, 2005 at 07:14:51AM +1200, Jonathan Chen wrote:
> On Sun, Jun 19, 2005 at 10:45:09AM -0700, Gary Kline wrote:
> >
> > People,
> >
> > This is one reason that I don't want to switch to postfix
> > (or any other "more secure" MTA). So far I have figured
> > out most things on ubuntu linux--(Debian based). I can get
> > mail *out* from any acct; but not in. According to my
> > sendmail /var/log/maillog, the connection is refused:
> >
> >
> > Jun 19 10:18:50 sage sm-mta[60201]: j5F3qGbQ035034:
> > to=<allyson at thought.org>, delay=4+13:26:14, xdelay=00:00:00,
> > mailer=relay, pri=22800576, relay=ethic.thought.org., dsn=4.0.0,
> > stat=Deferred: Connection refused by ethic.thought.org.
> > Jun 19 10:18:50 sage sm-mta[60201]: j5F3rm4u035037:
> > to=<allyson at thought.org>, delay=4+13:24:45, xdelay=00:00:00,
> > mailer=relay, pri=22890920, relay=ethic.thought.org., dsn=4.0.0,
> > stat=Deferred: Connection refused by ethic.thought.org.
>
> A connection refused means that the outgoing box doesn't think
> there's a socket listening on the receiving end. Have you made sure
> that:
>
> 1. postfix is running?
> 2. no firewall blocks in place?
> 3. "inet_interfaces = all" in Postix's main.cf?
>
I 2-checked that postfix *was* running on ethic. There is
a script. Firewalls, none insided. As for "3", I'll check.
Hmm. The "inet_interfaces" was set to "= loopback_only"
for some reason. Not that keen unless there is some valid
reason. I set it to "= all" and restarted.
OK. Now I get a "Service unavailable" in maillog:
Jun 19 14:23:02 sage sendmail[3035]: j5JLMsjS003025: --- 050
<allyson at thought.org>... Connecting to ethic.thought.org. via relay...
Jun 19 14:23:08 sage sendmail[3035]: j5JLMsjS003025: SMTP outgoing
connect on sage
Jun 19 14:23:09 sage sendmail[3035]: j5JLMsjS003025: --- 554 5.0.0
Service unavailable (hold)
Jun 19 14:23:09 sage sendmail[3035]: j5JLMsjS003025:
to=<allyson at thought.org>, ctladdr=<kline at sage.thought.org> (1001/1001),
delay=00:00:09, xdelay=00:00:09, mailer=relay, pri=30368,
relay=ethic.thought.org. [10.0.0.220], dsn=5.0.0, stat=Service unavailable
Jun 19 14:23:09 sage sendmail[3035]: j5JLMsjS003025: j5JLN9jS003035: DSN:
Service unavailable
Any idea what I need to fix now?
gary
--
Gary Kline kline at thought.org www.thought.org Public service Unix
More information about the freebsd-questions
mailing list