Re: New Issue: NOOP clarification

"Frank Ellermann" <nobody@xyzzy.claranet.de> Sun, 02 December 2007 17:41 UTC

Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lB2HfjbB067659 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 2 Dec 2007 10:41:45 -0700 (MST) (envelope-from owner-ietf-smtp@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id lB2Hfjtr067658; Sun, 2 Dec 2007 10:41:45 -0700 (MST) (envelope-from owner-ietf-smtp@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smtp@mail.imc.org using -f
Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lB2HfWr7067633 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <ietf-smtp@imc.org>; Sun, 2 Dec 2007 10:41:36 -0700 (MST) (envelope-from gis-ietf-smtp-979@gmane.org)
Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IysnY-0002N3-56 for ietf-smtp@imc.org; Sun, 02 Dec 2007 17:40:08 +0000
Received: from c-134-88-218.hh.dial.de.ignite.net ([62.134.88.218]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-smtp@imc.org>; Sun, 02 Dec 2007 17:40:08 +0000
Received: from nobody by c-134-88-218.hh.dial.de.ignite.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-smtp@imc.org>; Sun, 02 Dec 2007 17:40:08 +0000
X-Injected-Via-Gmane: http://gmane.org/
To: ietf-smtp@imc.org
From: Frank Ellermann <nobody@xyzzy.claranet.de>
Subject: Re: New Issue: NOOP clarification
Date: Sun, 02 Dec 2007 18:39:10 +0100
Organization: <http://purl.net/xyzzy>
Lines: 74
Message-ID: <fiuqfp$4f4$1@ger.gmane.org>
References: <474DEE11.4000200@santronics.com> <E01AF5C7672F184BA99D5BE6@p3.JCK.COM> <474F4754.8000406@santronics.com> <p06240807c375070bb1d3@[192.168.0.104]> <474F62E2.4080109@santronics.com> <p06240809c37514ce6013@[192.168.0.104]> <474F9B25.6060103@santronics.com> <20071201232538.GB20478@hjp.at> <47523AC4.7000502@santronics.com>
Reply-To: Frank Ellermann <hmdmhdfmhdjmzdtjmzdtzktdkztdjz@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Complaints-To: usenet@ger.gmane.org
X-Gmane-NNTP-Posting-Host: c-134-88-218.hh.dial.de.ignite.net
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1914
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1914
Sender: owner-ietf-smtp@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smtp/mail-archive/>
List-ID: <ietf-smtp.imc.org>
List-Unsubscribe: <mailto:ietf-smtp-request@imc.org?body=unsubscribe>

Hector Santos wrote:

> Does this make since? After the ABNF statement, add a note:
>     Syntax:
>        "NOOP" [ SP String ] CRLF
>     Note: If the SMTP client is required to fall back to a
>     HELO because it has connected to a legacy SMTP server following
>     RFC 821 (STD 10) specifications, then all follow up commands MUST
>     conform to RFC 821 command syntax. e.g., the client MUST not
>     send a string with the NOOP command.

No general discussion necessary at this point, you can trim the note:

|     Note: If the SMTP client used the HELO command as explained
|     in section 3.1, then it MUST NOT send a string with NOOP.

We could also twist it:  "If and only if" ... "then the server MAY
reject a NOOP command with a string as RFC 821 syntax error".  

The consequence "better do not try this after HELO" is obvious, 
but a MAY still allows for whatever caused the introduction of
this oddity in 2821.

>     If the client issued a "NOOP string" command before the EHLO,
>     it is possible to received a negative response 421 or 500
>     from a legacy SMTP server. In this case, the client MAY
>     use this negative response to proceed with a  HELO fall
>     back command.

In the twisted KISS style that could be:

|     A server supporting only RFC 821 syntax MAY treat a NOOP
|     command with a string as syntax error (500).

We can't use a "legacy" qualifier, it's not defined in the draft.
As John explained 421 is unrelated to the problem at hand, it is
always allowed when a server wants to get rid of a(ll) client(s).

> Of course, as John pointed out, it would of been better if the
> MS server had use 500 instead of 421.

Yes, better don't mention 421 here, 2821bis is the spec., it's not
some kind of Exchange or Sendmail manual.

> Of course, I don't think this is material for the specs. But at
> least we have a unofficial work around available to avoid mail
> delivery issues.

Don't send spam with NOOP, nobody is going to read it, and MS even
rejects it, well done... <gd&r>

> I can only guess "logging" were on people's mind. Thats how we
> are using it.

NOOP as User-Agent emulation ?  Apparently that doesn't fly, maybe
that's a good thing, servers behaving differently depending on the
"client identification" are a nuisance in other protocols.

> Now that I think about it, I seem to recall Microsoft's Caller-ID 
> proposal taking  NOOP to another level:
 
>      http://tools.ietf.org/html/draft-atkinson-callerid-00

Omigod, "enhanced NOOP", that certainly fits with "XML over DNS".
 
> Caller ID for E-mail was MS's original entry into the mix of LMAP

It was anything but not an "L" in LMAP, compare the original LMAP
draft as explained in <http://en.wikipedia.org/wiki/MARID>.  

This blatant case of [censored] is now Internet history, RFC 4405
has no "enhanced NOOP" (also has no "embraced" or "extended" NOOP).

 Frank