NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Header change in maling lists?
On Thu, 2020-11-05 at 15:43 +0530, Mayuresh wrote:
> On Thu, Nov 05, 2020 at 02:20:07AM -0600, Bruce Anderson wrote:
> > Use:
> > * ^List-Id:.*current-users.NetBSD.org
>
> I adopted procmail, but curious why angled brackets are added to a string
> of the domain name form.
See rfc 2822
Special characters used in other parts of the syntax
------------------------------
3.2.1. Primitive Tokens [Pages 9 and 10 BA-]
https://tools.ietf.org/html/rfc2822#section-3.2.1
specials = "(" / ")" / ; Special characters used in
"<" / ">" / ; other parts of the syntax
"[" / "]" /
":" / ";" /
"@" / "\" /
"," / "." /
DQUOTE
....
3.2.5. Quoted strings
https://tools.ietf.org/html/rfc2822#section-3.2.5
....
Strings of characters that include characters other than those
allowed in atoms may be represented in a quoted string format, where
the characters are surrounded by quote (DQUOTE, ASCII value 34)
characters.
qtext = NO-WS-CTL / ; Non white space controls
%d33 / ; The rest of the US-ASCII
%d35-91 / ; characters not including "\"
%d93-126 ; or the quote character
qcontent = qtext / quoted-pair
quoted-string = [CFWS]
DQUOTE *([FWS] qcontent) [FWS] DQUOTE
[CFWS]
....
**************************************
examples:
List-Id: NASA News Releases <hqnews.newsletters.nasa.gov>
List-Id: General discussion <gnome-list.gnome.org>
Better:
List-Id: "General discussion" <gnome-list.gnome.org>
Home |
Main Index |
Thread Index |
Old Index