[8487] in Athena Bugs

home help back first fref pref prev next nref lref last post

rt 7.3M: mh

daemon@ATHENA.MIT.EDU (Marc Horowitz)
Mon Oct 28 02:45:17 1991

To: bugs@Athena.MIT.EDU
Date: Mon, 28 Oct 91 02:45:08 EST
From: Marc Horowitz <marc@Athena.MIT.EDU>

System name:		portnoy
Type and version:	RTPC-ROMPC 7.3M (1 update(s) to same version)
Display type:		apa16

What were you trying to do?
	send mail	

What's wrong:
	mh doesn't know how to parse continuations properly.  Examples:



What should have happened:
	In the second case, mail should not have been sent to
mwm_user, since mwm_user should have been interpreted as a piece of
the address.

From RFC822:

     				    This makes the usual form of lists
     very easy; a rule such as '(element *("," element))' can be shown
     as  "1#element".

     To aid in the creation and reading of structured  fields,  the
     free  insertion   of linear-white-space (which permits folding
     by inclusion of CRLFs)  is  allowed  between  lexical  tokens.

and a few syntax specs:

     destination =  "To"          ":" 1#address  ; Primary

     address     =  mailbox                      ; one addressee

     mailbox     =  addr-spec                    ; simple address
                 /  phrase route-addr            ; name & addr-spec

     route-addr  =  "<" [route] addr-spec ">"

     route       =  1#("@" domain) ":"           ; path-relative

     addr-spec   =  local-part "@" domain        ; global address

     local-part  =  word *("." word)             ; uninterpreted
                                                 ; case-preserved

     word        =  atom / quoted-string

     domain      =  sub-domain *("." sub-domain)

     sub-domain  =  domain-ref / domain-literal

     domain-ref  =  atom                         ; symbolic reference

     domain-literal =  "[" *(dtext / quoted-pair) "]"

     atom        =  1*<any CHAR except specials, SPACE and CTLs>

In summary ( :-), the whitespace between "mwm_user" and "<" should
have been interpreted as inter-token space between phrase and
route-addr in the mailbox non-terminal, not as a list delimiter in the
destination non-terminal.


Please describe any relevant documentation references:
	[Please replace this line with your information.]

home help back first fref pref prev next nref lref last post