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

error parsing email addresses



Hi,

zmailer does not accept email addresses such as #userid@mydomain.com
MS Exchange accepts this email address specification.

From RFC822, '#' is a valid character in an email address.
-----------------------------------------
 addr-spec   =  local-part "@" domain        
 local-part  =  word *("." word)   
 word        =  atom / quoted-string
 atom        =  1*<any CHAR except specials, SPACE and CTLs>
 specials    =  "(" / ")" / "<" / ">" / "@"  ; Must be in quoted-
                 /  "," / ";" / ":" / "\" / <">  ;  string, to use
                 /  "." / "[" / "]"              ;  within a word.

								  OCTAL    DEC
 CHAR        =  <any ASCII character>        ; (  0-177,  0.-127.)
 SPACE       =  <ASCII SP, space>            ; (     40,      32.)
 CTL         =  <any ASCII control           ; (  0- 37,  0.- 31.)
                 character and DEL>          ; (    177,     127.)

-----------------------------------------

This would imply that an email address can include characters !#$%&'*+-/_^{}|~ 
along with alphanumeric.

By looking at lib/rfc822scan.c, it considers '#' a header field (_h).
and the start of a comment .

Is there a fix for this?

Thanks,
Paul Berlinguette
-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi