makeconnection: Invalid argument

makeconnection: Invalid argument

am 06.10.2007 22:58:32 von Captain Bob

What's wrong here????

*****First an outbound connection via ESMTP*****

Oct 6 06:50:55 sm-mta[2770]: l96AoVn8014871: --- 050
... Connecting to smtp10.sympatico.ca. via esm
tp...

*****Is it that sympatico.ca doesn't understand ESMTP??*****

Oct 6 06:50:55 sm-mta[2770]: l96AoVn8014871:
makeconnection (smtp10.sympatico.ca. [206.47.199.78]) failed: Invalid
argument

Oct 6 06:50:55 sm-mta[2770]: l96AoVn8014871:
makeconnection (smtp10.sympatico.ca. [206.47.199.80]) failed: Invalid
argument

Oct 6 06:50:55 sm-mta[2770]: l96AoVn8014871:
makeconnection (smtp10.sympatico.ca. [206.47.199.82]) failed: Invalid
argument

Oct 6 06:50:55 sm-mta[2770]: l96AoVn8014871:
makeconnection (smtp10.sympatico.ca. [206.47.199.86]) failed: Invalid
argument

Oct 6 06:50:55 sm-mta[2770]: l96AoVn8014871:
makeconnection (smtp10.sympatico.ca. [206.47.199.62]) failed: Invalid
argument

Oct 6 06:50:55 sm-mta[2770]: l96AoVn8014871:
makeconnection (smtp10.sympatico.ca. [206.47.199.64]) failed: Invalid
argument

Oct 6 06:50:55 sm-mta[2770]: l96AoVn8014871:
makeconnection (smtp10.sympatico.ca. [206.47.199.66]) failed: Invalid
argument

*****Finally SMTP is tried??*****

Oct 6 06:50:55 sm-mta[2770]: l96AoVn8014871: SMTP
outgoing connect on my.mail.server.com

Oct 6 06:50:55 sm-mta[2770]: l96AoVn8014871: --- 050
... Closing connection to quoll.law.uiuc.edu.

*****Closing connection to a different server???*****
*****Now, there was a Cc: to an address at uiuc.edu*****
*****And I assume that is the connection which is*****
*****being referred to here*****

Oct 6 06:50:55 sm-mta[2770]: l96AoVn8014871: --- 050
... Sent (ok: Message 402292785 accepted)

Oct 6 06:50:55 sm-mta[2770]: l96AoVn8014871:
to=, delay=00:00:24, xdelay=00:00:00,
mailer=esmtp, pri=23

*****BUT, the "mailer" ended up being ESMTP??*****

*******************

So after much effort, the email is delivered!

What I don't understand is the persistent makeconnection failures to
different MX's

Perhaps someone can shed some light on this??

Bob


--
/"\
\ / ASCII Ribbon Campaign - Motor Vessel Tamara B
X against HTML email & vCards - http://www.tamara-b.org
/ \ Tania Our Cat http://www.tamara-b.org/t1.jpg
.. . http://www.tamara-b.org/t2.jpg

Re: makeconnection: Invalid argument

am 07.10.2007 18:32:28 von Bill Cole

In article <20071006165832.1d675667@tania.servebbs.org>,
Bob wrote:

> What's wrong here????

I'm not sure, but I can rule out a theory...


> *****First an outbound connection via ESMTP*****
>
> Oct 6 06:50:55 sm-mta[2770]: l96AoVn8014871: --- 050
> ... Connecting to smtp10.sympatico.ca. via esm
> tp...
>
> *****Is it that sympatico.ca doesn't understand ESMTP??*****

No.

>
> Oct 6 06:50:55 sm-mta[2770]: l96AoVn8014871:
> makeconnection (smtp10.sympatico.ca. [206.47.199.78]) failed: Invalid
> argument

'makeconnection' just sets up the TCP connection. It can't fail on the
SMTP/ESMTP distinction, because that distinction is purely in the
application layer, not the transport layer.

Looking briefly at the relevant code in sendmail/daemon.c is only
slightly illuminating and requires more digging into other areas than I
feel like doing on a Sunday morning to fully understand, but the fact
that it is coming out of a default case and is only logged at LogLevel's
above 13 implies that this is not a serious problem.



> Oct 6 06:50:55 sm-mta[2770]: l96AoVn8014871:
> makeconnection (smtp10.sympatico.ca. [206.47.199.80]) failed: Invalid
> argument
>
> Oct 6 06:50:55 sm-mta[2770]: l96AoVn8014871:
> makeconnection (smtp10.sympatico.ca. [206.47.199.82]) failed: Invalid
> argument
>
> Oct 6 06:50:55 sm-mta[2770]: l96AoVn8014871:
> makeconnection (smtp10.sympatico.ca. [206.47.199.86]) failed: Invalid
> argument
>
> Oct 6 06:50:55 sm-mta[2770]: l96AoVn8014871:
> makeconnection (smtp10.sympatico.ca. [206.47.199.62]) failed: Invalid
> argument
>
> Oct 6 06:50:55 sm-mta[2770]: l96AoVn8014871:
> makeconnection (smtp10.sympatico.ca. [206.47.199.64]) failed: Invalid
> argument
>
> Oct 6 06:50:55 sm-mta[2770]: l96AoVn8014871:
> makeconnection (smtp10.sympatico.ca. [206.47.199.66]) failed: Invalid
> argument
>
> *****Finally SMTP is tried??*****
>
> Oct 6 06:50:55 sm-mta[2770]: l96AoVn8014871: SMTP
> outgoing connect on my.mail.server.com

Note that SMTP and ESMTP are identical at the connection level. ESMTP is
just a name for a collection of optional application-level extensions to
the original SMTP definition that the 'esmtp' mailer will probe for.


> Oct 6 06:50:55 sm-mta[2770]: l96AoVn8014871: --- 050
> ... Closing connection to quoll.law.uiuc.edu.
>
> *****Closing connection to a different server???*****
> *****Now, there was a Cc: to an address at uiuc.edu*****
> *****And I assume that is the connection which is*****
> *****being referred to here*****
>
> Oct 6 06:50:55 sm-mta[2770]: l96AoVn8014871: --- 050
> ... Sent (ok: Message 402292785 accepted)
>
> Oct 6 06:50:55 sm-mta[2770]: l96AoVn8014871:
> to=, delay=00:00:24, xdelay=00:00:00,
> mailer=esmtp, pri=23
>
> *****BUT, the "mailer" ended up being ESMTP??*****

These log lines do look strange. Have you done anything more than
linebreaking them and replacing the recipient local part? Are you
sharing *ALL* lines with that queue ID or expecting us to guess at what
is missing?

I would expect 'relay=' and 'dsn=' fields in any line
recording disposition of a particular address, i.e. with 'to=',
'delay=', and 'xdelay=' fields. Has your sendmail been modified or are
you hiding critical information?

> So after much effort, the email is delivered!
>
> What I don't understand is the persistent makeconnection failures to
> different MX's

Not different MX's, different addresses belonging to the same hostname,
which is pointed to by a single MX record. For whatever "Invalid
argument" means at that point, the code seems to imply that it is not a
condition that Sendmail deems specifically important, since it logs it
only at an unusually verbose LogLevel setting.

> Perhaps someone can shed some light on this??

Not much, but maybe I've narrowed your search for an answer.

--
Now where did I hide that website...

Re: makeconnection: Invalid argument

am 08.10.2007 17:50:24 von Captain Bob

On Sun, 07 Oct 2007 12:32:28 -0400 Bill Cole Said In Re:
makeconnection: Invalid argument These words of wisdome:

| > Perhaps someone can shed some light on this??
|
| Not much, but maybe I've narrowed your search for an answer.
|

Yes you have. I have found a correlation between these errors and my
firewall logs, seems IPF is rejecting some packets belonging to an
established connection. The problem may not be sendmail at all, but a
coms issue. In fact, sendmail seems to be saying just that!

Thanks!

--
/"\
\ / ASCII Ribbon Campaign - Motor Vessel Tamara B
X against HTML email & vCards - http://www.tamara-b.org
/ \ Tania Our Cat http://www.tamara-b.org/t1.jpg
.. . http://www.tamara-b.org/t2.jpg