apache / incubator-ponymail

Apache Pony Mail (Incubating) - Email for Ponies & People
http://ponymail.incubator.apache.org/
Other
80 stars 30 forks source link

Bug: should not generate invalid list ids #511

Closed sebbASF closed 4 years ago

sebbASF commented 4 years ago

Currently a list-Id header of the form:

List-Id: "SpamAssassin Users" users@spamassassin.apache.org

is not parsed correctly, whereas the following are:

List-Id: "SpamAssassin Users" <users@spamassassin.apache.org> List-Id: <users@spamassassin.apache.org> List-Id: users@spamassassin.apache.org

The descriptive phrase should be completely ignored when extracting the list-id

Humbedooh commented 4 years ago

None of those would be valid according to https://tools.ietf.org/html/rfc2919 However, we might as well be lenient in what we accept.