[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sloppy option



On 21-11-2003 at 06:59:30PM +0200, Matti Aarnio wrote:
MA> With the server started like this:
MA>    smtpserver -s sloppy -sve -l /var/log/mail/smtpserver
MA> 
Or with option "S" in smtpserver.conf. I know what means "sloppy".
But I think "MAIL FROM: <some@address.org>" is RFC compilant.

Look for this:
rfc1846:
   SMTP dialog example:

   ---> 220 relay.imag.fr ready
   <--- HELO client.inria.fr
   ---> 250 relay.imag.fr Hello client.inria.fr
   <--- MAIL FROM: <user1@client.inria.fr>
   ---> 250 <user1@client.inria.fr>... Sender Ok
   <--- RCPT TO: <user2@nomail.imag.fr>
   ---> 521 nomail.imag.fr does not accept mail
   <--- QUIT
   ---> 221 relay.imag.fr closing connection

or rfc2645:
6.  Example On-Demand Mail Relay Session

      P:  220 EXAMPLE.NET on-demand mail relay server ready
      C:  EHLO example.org
      P:  250-EXAMPLE.NET
      P:  250-AUTH CRAM-MD5 EXTERNAL
      P:  250 ATRN
      C:  AUTH CRAM-MD5
      P:  334 MTg5Ni42OTcxNzA5NTJASVNQLkNPTQo=
      C:  Zm9vYmFyLm5ldCBiOTEzYTYwMmM3ZWRhN2E0OTViNGU2ZTczMzRkMzg5MAo=
      P:  235 now authenticated as example.org
      C:  ATRN example.org,example.com
      P:  250 OK now reversing the connection
      C:  220 example.org ready to receive email
      P:  EHLO EXAMPLE.NET
      C:  250-example.org
      C:  250 SIZE
      P:  MAIL FROM: <Lester.Tester@dot.foo.bar>
      C:  250 OK
      P:  RCPT TO: <l.eva.msg@example.com>
      C:  250 OK, recipient accepted
      ...
      P:  QUIT
      C:  221 example.org closing connection

rfc821:
MAIL <SP> FROM:<reverse-path> <CRLF>

Do rfc's 1846 and 2645 are written with mistakes?

Bartek.
GPG-key-ID:  0x948DE45D - http://www.bartek.indigo.pl/public_key.txt
Fingerprint: 95E9 8E2D 1801 7864 2244  6EAA 03E5 764D 948D E45D

PGP signature