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

Re: Does this address really violate RFC822?



> Hi,
> 
> I'm exploring zmailer 2.2.1 on a Sun running Solaris 2.3.  It seems to be
> going well except for one problem.  The following is an extract from
> my smtpserver log:

  Good, better than I do -- I have found several odd situations with
real problems...  :-)    (My users are really imaginative people..)
But then I say in my docs "Partial MIME converter..."..


> 25827w  220 Jester.CC.MsState.Edu Server ESMTP ready at Fri, 25 Mar 1994 11:54:10 -0600
> 25827#  remote from [130.18.80.40]
> 25827r  HELO Charon4.MSstate.edu
> 25827w  250  Jester.CC.MsState.Edu Hello Charon4.MSstate.edu
> 25827r  MAIL FROM:<CHAUA@CHS.Clarksdale.K12.MS.US>
> 25827w  250 Ok
> 25827r  RCPT TO:<JCASTON.@WPHS.WESTPOINT.K12.US.MS>
> 25827w  501-             ^
> 25827w  501 Path data: Expected an rfc821_string
> 25827#  aborted: session terminated
> 
> but I can't find anything in RFC822 to suggest that this address is invalid.
> So, is this a bad boundary condition or is this address really illegal?

   It is,  look closer at how  "addr-spec" is defined, and especially how
"local-part" is defined.

Trust me, you don't understand RFC-821/-822 until you write a full
parser.  Then you KNOW how those specifications are botched..
RFC 1123 (host requirements) amends some of it too.

The SMTP-server's syntax-checker uses RFC-821, but it has similar spec.

	/Matti Aarnio	<mea@utu.fi>