[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
error parsing email addresses
- To: <zmailer@nic.funet.fi>
 
- Subject: error parsing email addresses
 
- From: "Paul Berlinguette" <paulb@bluecatnetworks.com>
 
- Date: Wed, 31 Mar 2004 22:20:57 -0500
 
- Original-Recipient: rfc822;zmailer-log@nic.funet.fi
 
- Sender: zmailer-owner@nic.funet.fi
 
- Thread-Index: AcQXX4ghvIPsqtDdSCKjgL3Ly7omgAAJQ1JA
 
- Thread-Topic: modp_gdbm: cannot open /etc/zmailer/db/localnames! (Bad magic number)
 
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