severity 316094 normal
thanks,

On Tue, 28 Jun 2005, Benoit Panizzon wrote:

Package: sendmail
Version: 8.13.4-3
Severity: grave
Justification: causes non-serious data loss

The messages (below) indicate no loss of data, just a delay in sending

Hi Cowboy

Hello !

I did desperately try to track down this error I saw on different systems:

Jun 28 13:53:41 go sendmail[18911]: j5SBrfKk018911: [EMAIL PROTECTED], 
ctladdr=benoit (1024/100),
delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31826, relay=[127.0.0.1] 
[127.0.0.1],
dsn=4.0.0, stat=Deferred:Connection refused by [127.0.0.1]

Did you specify bind address for sendmail and forget to include 127.0.0.1 ?
If things are kosher, you should have some message in the logs about not
being able to bind to a port.

Usualy after purging the config and re-installing sendmail everything was 
fine.... until I
enabled IPv6 according to the advice in sendmail.mc file which reads:

------------
dnl # If you want to support IPv6, switch the commented/uncommentd lines
FEATURE(`no_default_msa')dnl
DAEMON_OPTIONS(`Family=inet6, Name=MTA-v6, Port=smtp, Addr=::1')dnl
dnl DAEMON_OPTIONS(`Family=inet,  Name=MTA-v4, Port=smtp, Addr=127.0.0.1')dnl
DAEMON_OPTIONS(`Family=inet6, Name=MSP-v6, Port=submission, Addr=::1')dnl
dnl DAEMON_OPTIONS(`Family=inet,  Name=MSP-v4, Port=submission, 
Addr=127.0.0.1')dnl
------------

I have:
FEATURE(`no_default_msa')dnl
DAEMON_OPTIONS(`Family=inet6, Name=MTA-v6, Port=smtp, M=')dnl
DAEMON_OPTIONS(`Family=inet6, Name=MSA-v6, Port=587, M=Ea')dnl
DAEMON_OPTIONS(`Family=inet6, Name=SMTA-v6, Port=smtps, M=s')dnl
DAEMON_OPTIONS(`Family=local, Name=MTA-Unix, 
Addr=/var/run/sendmail/mta/smsocket')dnl


If you do this, sendmail only binds to the IPv6 Localhost and is not able to 
transmit emails
from the MTA to the queue runner (or vice versa?).

What kernel are you using ?

# lsof -i | grep sendmail
sendmail-  6462       root    4u  IPv6   72288       TCP *:smtp (LISTEN)
sendmail-  6462       root    5u  IPv6   72396       TCP *:submission (LISTEN)
sendmail-  6462       root    6u  IPv6   72450       TCP *:ssmtp (LISTEN)

You have to twitch submit.mc too:
------------
FEATURE(`msp', `[IPv6:::1]', `MSA')dnl
------------

Nope... I have FEATURE(`msp', `[127.0.0.1]', `MSA')dnl

I remember that older versions of sendmail didn't habe that problem, because 
listening on IPv6
did mean you also opened the IPv4 socket.

Yes, there were problems with older sendmails - mostly related to the
fact that early 2.4 kernels did not support both ipv4 and ipv6 on the
same port.

Probably this has changes somewhen either in the Kernel or in sendmail itself.

Something odd is happening on your box, as this is working fine on
several local boxen - running various 2.6 kernels.

--
Rick Nelson
<Joy> that's a Kludge(TM)
<knghtbrd> It Works(tm)
<Joy> AIX works(TM)
<knghtbrd> no it doesn't
<knghtbrd> =>


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to