OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Postfix generates invalid rfc822 date in Received: headers

From: Ben Winslow (winslowbpa.net)
Date: Fri Jan 04 2008 - 11:53:18 CST


On Fri, 2008-01-04 at 19:34 +0200, Magnus Melin wrote:
> I don't know where it's defined that header text between () is a comment.
> Arguably that makes sense of course.
>
> That aside, is it desired to supply the time zone name then? Why would it be, it
> just confuses software that parse rfc(2)822 date-time - where I see absolutely
> nothing about a possible comment being allowed.

The purpose of any comment is for the benefit of a human reading it,
isn't it?

RFC2822 section 3.2.3 says:
   Strings of characters enclosed in parentheses are considered comments
   so long as they do not appear within a "quoted-string", as defined in
   section 3.2.5. Comments may nest.

(RFC822 has a description of comments in 3.4.3.)

> -Magnus