Paul J Stevens wrote:
Tom Allison wrote:
I was porting some email from one imap server location to another and
ran into a feature of something. One of them writes message-id as
'Message-Id' and the other writes it as 'Message-ID'. Because of this,
all the messages are forever different.
Make sure imapsync ignores both (--skipheader '/^Message-ID/i'.
(assuming you are using imapsync).
All mail is delivered from postfix and will be in the future.
But I'm asking which of these syntaxes is correct or if there is a
right/wrong way of writing the headers? RFC2822 doesn't come right out
and say it, but all the examples therein are "Message-ID".
RFC 822 says they are all the same.
Headernames are case-insensitive.
Both?
So yes, they are both correct.
Me thinks I should send a not to imapsync and let them know about this.
I assume if they did a lowercase conversion before the compared the messages
this would work.