[comp.mail.mh] BERK option hosers

khera@sardine.cs.duke.edu (Vick Khera) (09/10/90)

I recently got around to recompiling mh 6.6 without the BERK option.
i wanted to have the nice display of the senders name in my scan
listings.  however, if a name has a "." in it (without quotes) as in

	Mr. Foo <khera@romeo>

the MH parsing routines can't find an address and return this error:

What now? w
whom: bad address 'Mr. Foo <khera@romeo>' - no at-sign after local-part (<), con
tinuing...
whom: no addressees

What now? q -d
[anthrax]/src/local/bin/mh-6.7% ali badname
Mr. Foo <khera@romeo>
[anthrax]/src/local/bin/mh-6.7%

this all works fine with the BERK option.  i figured that i should go
ahead and upgrade to 6.7, so i did and got the same error.  so for now
i am stuck with using the BERK option.  the addresses work fine with
"." in them if the whole name part is in double-quotes or in
parentheses:

	"Mr. Foo" <khera@romeo>

I did not think this would be such a problem since i can make any ``bad''
aliases like this have quotes locally, but i got some mail from a
friend with a period in it and repl choked as above.  anyone else have
this problem? is it a failure to conform to the RFC?

these are the options i'm using currently (only difference is i tried
to take out BERK and tried replacing BERK with DUMB, all with no good
effect).  in case it matters: SunOS 4.1 using shared libs on a SPARC.

version: MH 6.7 #3[UCI] (anthrax) of Sat Sep 8 22:59:34 EDT 1990
options: [BSD42] [BSD43] [SUN40] [TYPESIG=void] [MHE] [BIND] [DBM] [NFS]
         [ZONEINFO] [MHRC] [WHATNOW] [OVERHEAD] [BERK] [SENDMTS] [SMTP]
         [BPOP] [NNTP]

another thing: are there any patches i should apply to 6.7 since it
came out?

thanks for any help.

								v.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vick Khera         Graduate Student     Department of Computer Science
ARPA:   khera@cs.duke.edu               Duke University
UUCP:   ..!{mcnc,decvax}!duke!khera     Durham, NC 27706       (919) 660-6528

jromine@ics.uci.edu (John Romine) (09/11/90)

khera@sardine.cs.duke.edu (Vick Khera) writes:
>the addresses work fine with "." in them if the whole name part is
>in double-quotes or in parentheses:
>
>	"Mr. Foo" <khera@romeo>
>
>is it a failure to conform to the RFC?

Yes.  Addresses with "." in the personal name part must be enclosed
in quotes to be legal according to RFC822.
--
John Romine

tr@samadams.princeton.edu (Tom Reingold) (09/25/90)

khera@sardine.cs.duke.edu (Vick Khera) writes:

$ the addresses work fine with "." in them if the whole name part is
$ in double-quotes or in parentheses:
$ 
$ 	"Mr. Foo" <khera@romeo>
$ 
$ is it a failure to conform to the RFC?


jromine@ics.uci.edu (John Romine) writes:

$ Yes.  Addresses with "." in the personal name part must be enclosed
$ in quotes to be legal according to RFC822.
$ --
$ John Romine

But if it is not enclosed in quotes it may be violating RFC822, but it
is commonly done.  Shouldn't MH be able to handle it nevertheless?  Is
there a way to do this?  Lots of folks use periods even though they
shouldn't, and it would be nice if MH could return their mail.

--
        Tom Reingold
        tr@samadams.princeton.edu
        rutgers!princeton!samadams!tr
        "Brew strength depends upon the
        amount of coffee used." -Black&Decker