[H-GEN] Interpretation of RFC822

Edwin Groothuis edwin at mavetju.org
Mon Oct 7 04:00:20 EDT 2002


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

On Mon, Oct 07, 2002 at 03:40:50PM +0800, Everist, Geoff wrote:
> [ Humbug *General* list - semi-serious discussions about Humbug and     ]
> [ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
> 
> OK...by way of "starting a useful discussion" instead of just sending test 
> messages to the list, I pose this little conundrum (it may not be useful 
> to others, but the answers will certainly be useful to me):

Note that I don't have any authority in this.

RFC2822: 3.4. Address Specification

   Addresses occur in several message header fields to indicate senders
   and recipients of messages.  An address may either be an individual
   mailbox, or a group of mailboxes.
   
address         =       mailbox / group

mailbox         =       name-addr / addr-spec
   
name-addr       =       [display-name] angle-addr
   
angle-addr      =       [CFWS] "<" addr-spec ">" [CFWS] / obs-angle-addr
   
group           =       display-name ":" [mailbox-list / CFWS] ";"
                        [CFWS]
                 
display-name    =       phrase

mailbox-list    =       (mailbox *("," mailbox)) / obs-mbox-list

address-list    =       (address *("," address)) / obs-addr-list


This would lead me to believe there should be a [CFWS] (comment or
folding white space) before the <.

But then, be tolerant in what you receive and strict in what you send.

Edwin

-- 
Edwin Groothuis      |            Personal website: http://www.MavEtJu.org
edwin at mavetju.org    |    Weblog: http://www.mavetju.org/weblog/weblog.php 
bash$ :(){ :|:&};:   | Interested in MUDs? http://www.FatalDimensions.org/

--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list