>>>>> "TP" == Tom Perrine <[EMAIL PROTECTED]> writes:

TP> I recently started using PGP, and noticed that I could not send mail
TP> to one particular user;  PGP suddenly couldn't find his key when the
TP> to line had been expanded by BBDB.

TP> The user's PGP was in the form:

TP> First I. Last <[EMAIL PROTECTED]>

TP> and BBDB insisted  on expanding this as

TP> "First I. Last" <[EMAIL PROTECTED]>

TP> adding the quotes around the user's name.

TP> This caused the PGP key lookup to fail for this user.

TP> This expansion is *incorrect*, but common.  RFC 822 has commonly been
TP> mis-interpreted in the past to require

TP>      mailbox     =  addr-spec                    ; simple address
TP>                  /  WORD route-addr            ; name & addr-spec
TP>                     ^^^^
TP> as all of the examples in the RFC follow this convention, but the RFC
TP> actually says:

TP>      mailbox     =  addr-spec                    ; simple address
TP>                  /  phrase route-addr            ; name & addr-spec
TP>                     ^^^^^^
TP>      phrase      =  1*word                       ; Sequence of words
TP>                                                    ^^^^^^^^
TP>      word        =  atom / quoted-string

But let me just add a few lines more from that very same RFC 822:

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

     specials    =  "(" / ")" / "<" / ">" / "@"  ; Must be in quoted-
                 /  "," / ";" / ":" / "\" / <">  ;  string, to use
                 /  "." / "[" / "]"              ;  within a word.

I.e. you are not allowed to have a dot in a word, never ever.

Too bad, by the way, I think the quoting makes names ugly.

/David, reading RFC 959, but they are in the same dir anyway

-------------------------------------------------------------------
David, datorligist    [EMAIL PROTECTED] or [EMAIL PROTECTED]  
Ask for PGP public key, or check   http://www.cling.gu.se/~cl2david
Do good.                     Be good.                    Feel good.

Reply via email to