Re: [Dovecot] X-UID: 4085788205 != 2147483647
On 24.1.2007, at 2.49, Stephen Gowing wrote:
It *is* possible to force a large X-UID, if the user has an empty
inbox (tested on rc15).
Yes, but only if it's the very first message for the user. Afterwards
even if user expunges all the messages, there are two things that
prevent this from being possible: index files and the UW-IMAP style
"FOLDER INTERNAL DATA" message.
You could also prevent this completely by stripping the X-UID header
in your SMTP server or LDA. For example Dovecot LDA strips all the
Dovecot's internal metadata headers.
I guess the UID renumbering could be done some day, but for now I
think it's just way too much trouble with not that much benefits.
On Wed, 2007-01-24 at 13:23 +0200, Timo Sirainen wrote: [...]
You could also prevent this completely by stripping the X-UID header
in your SMTP server or LDA. For example Dovecot LDA strips all the
Dovecot's internal metadata headers.
.. I've added
/^X-UID/ IGNORE /^X-IMAP/ IGNORE
to header_checks on each of our postfix servers -- are there any others I should be aware of?
I guess the UID renumbering could be done some day, but for now I
think it's just way too much trouble with not that much benefits.
Fair enough, I agree it's a very unlikely situation.
sbg
On Thu, 2007-01-25 at 11:33 +1100, Stephen Gowing wrote:
On Wed, 2007-01-24 at 13:23 +0200, Timo Sirainen wrote: [...]
You could also prevent this completely by stripping the X-UID header
in your SMTP server or LDA. For example Dovecot LDA strips all the
Dovecot's internal metadata headers... I've added
/^X-UID/ IGNORE /^X-IMAP/ IGNORE
to header_checks on each of our postfix servers -- are there any others I should be aware of?
"Content-Length",
"Status",
"X-IMAP",
"X-IMAPbase",
"X-Keywords",
"X-Status",
"X-UID"
Quoting Timo Sirainen:
Hi,
to header_checks on each of our postfix servers -- are there any others I should be aware of? "Content-Length", ...
Do I understand this right, that everybody using dovecot and not deliver as LDA should strip these headers in the MTA/MDA? Does dovecot really need this headers, even with maildir? I thought everything is stored in the filename...
On Thu, 2007-01-25 at 11:08 +0100, Jakob Hirsch wrote:
Quoting Timo Sirainen:
Hi,
to header_checks on each of our postfix servers -- are there any others I should be aware of? "Content-Length", ...
Do I understand this right, that everybody using dovecot and not deliver as LDA should strip these headers in the MTA/MDA? Does dovecot really need this headers, even with maildir? I thought everything is stored in the filename...
I'm only talking about mbox here. With maildir these headers aren't treated in any special way.
participants (3)
-
Jakob Hirsch
-
Stephen Gowing
-
Timo Sirainen