procmail
[Top] [All Lists]

Re: Not Allowed E-Mail Address Characters

1999-03-24 12:50:32
At 05:04 PM 3/24/1999 -0000, Mike Watkins wrote the following:

I was just wondering, does any know, or know where I can find, a list
of all
of the characters not allowed in e-mail addresses?  Before, I thought
some
e-mail addresses contained commas, but they found out different when my
script crashed because of this.

RFC0822 Excerpts:
3.1.2.  STRUCTURE OF HEADER FIELDS

Once a field has been unfolded, it may be viewed as being com-
posed of a field-name followed by a colon (":"), followed by a
field-body, and  terminated  by  a  carriage-return/line-feed.
The  field-name must be composed of printable ASCII characters
(i.e., characters that  have  values  between  33.  and  126.,
decimal, except colon).  The field-body may be composed of any
ASCII characters, except CR or LF.  (While CR and/or LF may be
present  in the actual text, they are removed by the action of
unfolding the field.)

 3.3.  LEXICAL TOKENS

      The following rules are used to define an underlying lexical
 analyzer,  which  feeds  tokens to higher level parsers.  See the
 ANSI references, in the Bibliography.

                                             ; (  Octal, Decimal.)
 CHAR        =  <any ASCII character>        ; (  0-177,  0.-127.)
 ALPHA       =  <any ASCII alphabetic character>
                                             ; (101-132, 65.- 90.)
                                             ; (141-172, 97.-122.)
 DIGIT       =  <any ASCII decimal digit>    ; ( 60- 71, 48.- 57.)
 CTL         =  <any ASCII control           ; (  0- 37,  0.- 31.)
                 character and DEL>          ; (    177,     127.)
 CR          =  <ASCII CR, carriage return>  ; (     15,      13.)
 LF          =  <ASCII LF, linefeed>         ; (     12,      10.)
 SPACE       =  <ASCII SP, space>            ; (     40,      32.)
 HTAB        =  <ASCII HT, horizontal-tab>   ; (     11,       9.)
 <">         =  <ASCII quote mark>           ; (     42,      34.)
 CRLF        =  CR LF

To get RFC0822 by E-mail:
To: RFC-INFO(_at_)ISI(_dot_)EDU(_dot_)
Subject: [leave blank]
Body of the message
Retrieve: RFC
Doc-ID: RFC0822



--
Gerry Boyd -- gboyd(_at_)netcom(_dot_)com

<Prev in Thread] Current Thread [Next in Thread>