> 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 = [ day-of-week "," ] date time [CFWS]
```
My understanding would be that the comment above applies to the [CFWS], not to
the WSPs before, right?
I guess I am mostly wondering if my patch to isync should allow for infinite WSP
characters everywhere and if yes, I feel like they will want me to point to
where in the specs it says that this is legal.
> Postfix date-time was implemented following RFC 822, a decade before
> RFC 5322, at a time that the single-space recommendation did not exist.
Same question here actually, with the specification of the date-time being:
```
date-time = [ day "," ] date time ; dd mm yy
; hh:mm:ss zzz
```
For instance I wouldn't guess from this that `dd mm yy` is "legal but not
recommended" in RFC 822. It feels like it would just be illegal.
> I could change that in Postfix 3.9 (or prepend a zero, to break less)
That would be awesome, thanks a lot! Where could I see the patch (when done),
out of curiosity? If you point me to roughly where it should be fixed, I can
even try to make a patch myself! :-)
> It is going to take a decade before all Postfix installs have been updated.
Sure, I completely understand. But at least users like me will be able to ask
their provider to consider updating to 3.9 (without holding my breath of
course). I actually wish this was a "bug" (as in: the specifications say that
having two white spaces here is illegal), so that it would make an incentive to
update. This is the reason why I am trying to really understand the specs above,
I am not actively trying to be annoying :-).
Best Regards,
Jonas
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]