procmail
[Top] [All Lists]

Re: appending to Message-Id: line after ">"

2000-01-14 23:11:39
On 14 January 2000, David W. Tamkin <dattier(_at_)mcs(_dot_)net> wrote:
Is it legal to put additional text on the Message-Id: header line to
the right of the closing angle bracket?  What about between the colon
and the left-side angle bracket?  Should it be put into quotation
marks or paren- theses for safety?

This is part of something for a filter, so it is indirectly
procmail-related.

    According to RFC 822:

:    optional-field =
:                /  "Message-ID"        ":"   msg-id
:                /  "Resent-Message-ID" ":"   msg-id
[...]
:    msg-id      =  "<" addr-spec ">"            ; Unique message id

    So, no, you shouldn't have any additional text on "Message-Id:"
lines.  Now, whether the common practice among brain-dead Windows
mailers is to follow this rule or not, is, of course, another story.

    Regards,

    Liviu Daia

-- 
Dr. Liviu Daia               e-mail:   Liviu(_dot_)Daia(_at_)imar(_dot_)ro
Institute of Mathematics     web page: http://www.imar.ro/~daia
of the Romanian Academy      PGP key:  http://www.imar.ro/~daia/daia.asc