[pfx] Re: Are multiple white spaces allowed in a date in headers?

2024-01-31 Thread Jonas Vautherin via Postfix-users
> No, that is a wrong interpretation: day-of-week, ",", date, time, CFWS > are all syntatic tokens and [] means optional. The blanks between the > tokens do not belong to the syntax. If you generate a date-time with all > optional fields it would be > > day-of-week,datetimeCFWS > > without any b

[pfx] Re: Are multiple white spaces allowed in a date in headers?

2024-01-31 Thread Jonas Vautherin via Postfix-users
> Indeed, RFC 5322 recommends (i.e. should) single space. Is there a place where it explicitly mentions that for WSP? In section 3.3, it says that "it is RECOMMENDED that a single space be used in each place that FWS appears", but I did not find anything about WSP other than this: ``` date-time

[pfx] Are multiple white spaces allowed in a date in headers?

2024-01-30 Thread Jonas Vautherin via Postfix-users
Good evening, I am using isync/mbsync to fetch my emails, and throws the following error with Fastmail (that I don't see with others like GMail): > IMAP error: unable to parse INTERNALDATE format With the verbose output, I get: > * 66 FETCH (UID 74 INTERNALDATE " 5-Dec-2023 08:02:58 -0500" BODY