Mads Martin Joergensen wrote:
* W.D.McKinney [Jan 06. 2004 19:20]:
In SuSE 8.0, I could configure Sendmail to be a null client[snip]
In 8.1 with Postfix, I cannot get the Null client to work.
Yes, I did run SuSEconfig. Here are some logs. On both the SuSE
8.0 with sendmail and the SuSE 8.1 with postfix boxes, I fired up Pine
as root and sent a test message to root. The sendmail null client hands
the message off to the relay host with no problem and uses localhost as
the relay to do so. The postfix null client tries to use the relay host
to send the mail back to itself which doesn't work because it's not
listening on the network.
In /var/log/mail on the SuSE 8.0 / sendmail null client box, the
message generated this:
Jan 6 13:28:10 suse80 sendmail[22010]: i06JSANY022010:
from=, size=327, class=0, nrcpts=1,
msgid=,
proto=ESMTP, relay=root@localhost
Jan 6 13:28:10 suse80 sendmail[22013]: i06JSAcv022013:
from=, size=521, class=0, nrcpts=1,
msgid=,
proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]
Jan 6 13:28:10 suse80 sendmail[22012]: i06JSANY022010:
to=, ctladdr=
(0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=120301,
relay=localhost.my.domain.org. [127.0.0.1], dsn=2.0.0, stat=Sent
(i06JSAcv022013 Message accepted for delivery)
Jan 6 13:28:10 suse80 sendmail[22015]: i06JSAcv022013:
to=, ctladdr=
(0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=120495,
relay=central [172.16.0.1], dsn=2.0.0, stat=Sent (i06JSA2R031034 Message
accepted for delivery)
In /var/log/mail on the SuSE 8.0 / sendmail box that is supposed to
receive all the mail, the message generated this:
Jan 6 13:28:10 central sendmail[31034]: i06JSA2R031034:
from=, size=746, class=0, nrcpts=1,
msgid=,
proto=ESMTP, daemon=MTA, relay=suse80.my.domain.org [172.16.0.2]
In /var/log/mail on the SuSE 8.1 / postfix null client box , the
message generated this:
Jan 6 13:20:33 suse81 postfix/smtpd[16583]: connect from
localhost[127.0.0.1]
Jan 6 13:20:33 suse81 postfix/smtpd[16583]: 41ADC2437F69:
client=localhost[127.0.0.1]
Jan 6 13:20:33 suse81 postfix/smtpd[16583]: disconnect from
localhost[127.0.0.1]
Jan 6 13:20:33 suse81 postfix/pickup[16501]: 5ABBA2026B70: uid=0
from=
Jan 6 13:20:33 suse81 postfix/cleanup[16585]: 5ABBA2026B70:
message-id=
Jan 6 13:20:33 suse81 postfix/qmgr[16502]: 5ABBA2026B70:
from=, size=617, nrcpt=1 (queue active)
Jan 6 13:20:33 suse81 postfix/smtp[16587]: 5ABBA2026B70:
to=, relay=central.my.domain.org[172.16.0.1],
delay=0, status=sent (250 2.0.0 i06JKY2R030862 Message accepted for
delivery)
In /var/log/mail on the SuSE 8.0 / sendmail box that is supposed to
receive all the mail, the message generated this:
Jan 6 13:20:34 central sendmail[30864]: i06JKY2R030862:
to=, delay=00:00:00, xdelay=00:00:00,
mailer=esmtp, pri=120583, relay=suse81.my.domain.org., dsn=4.0.0,
stat=Deferred: Connection refused by suse81.my.domain.org.
The key seems to be that the sendmail null client uses
"relay=localhost" before "relay=central" but the postfix null client
only uses "relay=central".
Thanks,
Jason
===========