[dovecot/core] 45af47: dsync: When comparing headers' hashes to match mes...

GitHub noreply at github.com
Tue Jan 26 18:07:06 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 45af47783693b3ba2768c5ad34eeff68132382d0
      https://github.com/dovecot/core/commit/45af47783693b3ba2768c5ad34eeff68132382d0
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-01-26 (Tue, 26 Jan 2016)

  Changed paths:
    M src/doveadm/dsync/dsync-brain-mailbox.c
    M src/doveadm/dsync/dsync-brain-private.h
    M src/doveadm/dsync/dsync-brain.c
    M src/doveadm/dsync/dsync-ibc-stream.c
    M src/doveadm/dsync/dsync-ibc.h
    M src/doveadm/dsync/dsync-mail.c
    M src/doveadm/dsync/dsync-mail.h
    M src/doveadm/dsync/dsync-mailbox-export.c
    M src/doveadm/dsync/dsync-mailbox-export.h
    M src/doveadm/dsync/dsync-mailbox-import.c
    M src/doveadm/dsync/dsync-mailbox-import.h
    M src/plugins/pop3-migration/pop3-migration-plugin.c

  Log Message:
  -----------
  dsync: When comparing headers' hashes to match messages, try to normalize the input.

This is especially useful because some IMAP servers return different data
depending on whether we're fetching only specific header fields, all headers
or entire body. For now we're assuming that any non-ASCII is going to be
replaced with '?', which helps at least with Zimbra and Yahoo. The header
hashing algorithm is now versionable, so it can be modified more easily in
future.

This change should make imapc_features=zimbra-workarounds setting obsolete.




More information about the dovecot-cvs mailing list