Bug#962277: debian-policy: Maintainer address: move away from RFC822 to RFC5322 + RFC6532

2022-09-19 Thread Russ Allbery
Ansgar writes: > There is an updated version (RFC 5322) that should be used instead. > Notably RFC 5322 is more restrictive on the local part (whitespace and > escape sequences are no longer allowed except as obsolete syntax). > Furthermore RFC 6532 extends RFC 5322 and allows non-ascii-UTF-8

Bug#962277: debian-policy: Maintainer address: move away from RFC822 to RFC5322 + RFC6532

2020-06-05 Thread Bill Allombert
On Fri, Jun 05, 2020 at 04:35:54PM +0200, Adam Borowski wrote: > On Fri, Jun 05, 2020 at 03:35:23PM +0200, Bill Allombert wrote: > > On Fri, Jun 05, 2020 at 03:23:11PM +0200, Ansgar wrote: > > > There is an updated version (RFC 5322) that should be used instead. > > > Notably RFC 5322 is more

Re: Bug#962277: debian-policy: Maintainer address: move away from RFC822 to RFC5322 + RFC6532

2020-06-05 Thread Adam Borowski
On Fri, Jun 05, 2020 at 03:35:23PM +0200, Bill Allombert wrote: > On Fri, Jun 05, 2020 at 03:23:11PM +0200, Ansgar wrote: > > There is an updated version (RFC 5322) that should be used instead. > > Notably RFC 5322 is more restrictive on the local part (whitespace and > > escape sequences are no

Bug#962277: debian-policy: Maintainer address: move away from RFC822 to RFC5322 + RFC6532

2020-06-05 Thread Ansgar
On Fri, 2020-06-05 at 15:35 +0200, Bill Allombert wrote: > Are there packages actually using the obsolete syntax ? Not checked yet. Stuff probably breaks with whitespace in local parts. > Can this be checked by Lintian ? Lintian uses Email::Address::XS. That seems to allow Unicode (allowed by

Bug#962277: debian-policy: Maintainer address: move away from RFC822 to RFC5322 + RFC6532

2020-06-05 Thread Ansgar
On Fri, 2020-06-05 at 15:23 +0200, Ansgar wrote: > So, Policy should probably: > - Refer to RFC 5322. > - Forbid the obsolete syntax (RFC 5322, Section 4 "Obsolete Syntax"). > - Allow the extensions from RFC 6532. Maybe Policy should also refer to either `mailbox` or `name-addr` for the

Bug#962277: debian-policy: Maintainer address: move away from RFC822 to RFC5322 + RFC6532

2020-06-05 Thread Bill Allombert
On Fri, Jun 05, 2020 at 03:23:11PM +0200, Ansgar wrote: > Package: debian-policy > > 5.6.2 Maintainer currently states: > > +--- > | The package maintainer’s name and email address. The name must come > | first, then the email address inside angle brackets <> (in RFC822 > | format). > | > | If

Bug#962277: debian-policy: Maintainer address: move away from RFC822 to RFC5322 + RFC6532

2020-06-05 Thread Ansgar
Package: debian-policy 5.6.2 Maintainer currently states: +--- | The package maintainer’s name and email address. The name must come | first, then the email address inside angle brackets <> (in RFC822 | format). | | If the maintainer’s name contains a full stop then the whole field | will not