When verifying a mail's location in dirty mbox with invalid X-UID headers that weren't yet rewritten, we would trust the X-UID header and cause the verification to fail. Now we trust it only if it's valid, otherwise fallback to MD5 sum of the header.
When verifying a mail's location in dirty mbox with invalid X-UID headers
that weren't yet rewritten, we would trust the X-UID header and cause the
verification to fail. Now we trust it only if it's valid, otherwise fallback
to MD5 sum of the header.

Distrotech/dovecot,Distrotech/dovecot,Distrotech/dovecot,Distrotech/dovecot,damoxc/dovecot,damoxc/dovecot,damoxc/dovecot,damoxc/dovecot,Distrotech/dovecot,damoxc/dovecot