69a71891361b2b27ff68ed84b29278486628464a |
|
27-Sep-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
dsync: Add hashed_headers setting
This makes it possible to configure them |
f3c24c2c92802cb773315eba1132254932d8709b |
|
23-Jun-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
dsync: Use header hashing version 3 |
a76faea3eb26c4cd67886fbe02c604f74d54be8c |
|
17-May-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
dsync: Try to commit transactions every dsync_commit_msgs_interval messages
This was first attempted to be implemented by
ec0cc8fa647794e44a1afaa448f495a713048dc4, but it was later partially
reverted by 5973d496b16721af6d2c1fa90b016aacddf13554. This current
commit should fix its problems. |
ee8294dbc7bb549557f6ba1264d66b55fbef69b6 |
|
10-Oct-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm-sync: Add end-date support |
ae949831f1f668b5501b4b125e7f7b1767fb109b |
|
11-Aug-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm sync/backup: Added -S <max size> parameter to skip too large mails. |
e229fe84553486b4ab37584f2a896a33384d0d70 |
|
29-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
dsync: When full resync is wanted in a stateful sync, output empty state.
This continues 3d49dc64d, which didn't actually work because
brain->require_full_resync was either cleared earlier or it was never
even set in this brain. |
45af47783693b3ba2768c5ad34eeff68132382d0 |
|
26-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
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. |
1ff34185c13dffaab10e7691844ad7aec7c716d2 |
|
26-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
dsync: Added -T parameter to specify the I/O stall timeout. |
ce0e25f26d6e67480ee39b5ca0ad634fa60c4605 |
|
18-Mar-2015 |
Timo Sirainen <tss@iki.fi> |
dsync: Use storage's mail_error to choose the doveadm exit code.
Instead of always assuming that all errors are EX_TEMPFAIL. |
24bd831901b8fd59718e353b36eaef6a950f09a2 |
|
13-Mar-2015 |
Timo Sirainen <tss@iki.fi> |
dsync: Added an extra "finish" state to allow slave-dsync to report error to master-dsync.
I'm not sure if that's actually necessary, but just trying to follow the
different possibilities on how dsync run can finish made me unsure about it.
This should make it at least clear that if a slave-dsync has a failure flag
set at deinit master-dsync will know about it before it returns success. |
2e652d2651b2800f99a17dcb3014a009fe4660d3 |
|
20-Jan-2015 |
Timo Sirainen <tss@iki.fi> |
dsync: Added -F parameter to sync only mails with[out] specific flag. |
70df8f39fb3db7c49b18c855178f8172176a037a |
|
20-Jan-2015 |
Timo Sirainen <tss@iki.fi> |
dsync: If same GUID already exists in storage, try to copy it instead of recreating the mail.
This way most mailbox backends can reduce disk space by only doing a
reference count update.
This feature isn't enabled by default. A virtual "All Mails" mailbox needs
to be configured using the virtual plugin. Then you need to give this
mailbox as -a parameter, e.g.:
doveadm sync -a "Virtual/All Mails" ...
Currently this is implemented by reading through all the GUIDs in the
virtual mailbox. This of course isn't very efficient for things like
incremental replication. An upcoming conversation plugin will keep track of
all the mails' GUIDs, so in future replication should be able to have this
functionality efficiently as well. |
3561c7bb472a78af74d755219cc0fc71c85ff5c2 |
|
19-Jan-2015 |
Timo Sirainen <tss@iki.fi> |
dsync: Added -t <timestamp> parameter to save only mails newer than <timestamp>
If one side has old mails that don't exist on the other side, they are
ignored (not synced and not deleted). |
d487aa885845c33fb358d5b3b514eece6791db0e |
|
25-Mar-2014 |
Timo Sirainen <tss@iki.fi> |
dsync: Support multiple -n parameters. |
fd32c46c360e61de2c957c3d2241eaacab7b3eec |
|
26-May-2013 |
Timo Sirainen <tss@iki.fi> |
dsync: Added -x parameter to exclude mailboxes from sync.
Multiple -x parameters can be added. Giving \flag as parameter means that
the mailbox with the given SPECIAL-USE \flag is skipped. For example:
doveadm sync -x '\All' -x '\Flagged' -x '\Important' mdbox:~/mdbox |
b8e6e314eb2f9f1fc8ce2999034321bfeb7a2269 |
|
07-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
dsync: Fixed talking to earlier dsync without mailbox attribute support.
Most importantly it can now be used as an example how to add more features
to dsync. |
9f99b5c3e607c41c16a6380203d401250d9e2603 |
|
25-Mar-2013 |
Timo Sirainen <tss@iki.fi> |
doveadm sync/backup: Added -g <guid> to sync only the specified mailbox (by GUID)
Similar to -m <mailbox name>. |
55d33f807765482eb47374aaaced1fe714e0b256 |
|
14-Mar-2013 |
Timo Sirainen <tss@iki.fi> |
dsync: Added support for syncing mailbox attributes. |
ea245d7a9683e7bb9cd74fcdf1a26d049b2947eb |
|
26-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
dsync: If I/O gets stalled, log the state in which it happened. |
0e03baa885b89cd42fb76fe0282f272f035638cd |
|
16-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
dsync: -l parameter locking is now done on the server with "lower" hostname.
This allows running multi-master replication on two servers without two
dsyncs mixing up changes by running at the same time. |
f476a2abe41082176e65425358bf01bdcc86a41c |
|
09-Jan-2013 |
Timo Sirainen <tss@iki.fi> |
dsync: Close mail streams earlier on failures to avoid assert-crashing |
66088eb6144f98adbbd9799f902c87cbdd0a4eeb |
|
08-Jan-2013 |
Timo Sirainen <tss@iki.fi> |
dsync: Fixes to handling output stream buffering. |
707f172cd4e4c91af86ff5bd82a60a873dec6f70 |
|
15-Dec-2012 |
Timo Sirainen <tss@iki.fi> |
dsync: Added back support for syncing only one mailbox (-m parameter) |
5332128f69ad688cc024897c2a92f6b37ef8d05c |
|
14-Dec-2012 |
Timo Sirainen <tss@iki.fi> |
dsync: Added debugging and rawlogging support. |
e83126866761632b437e532dfdc30be01d14039d |
|
21-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
doveadm: "backup" command is working again. |
a85473f7c11c8734bdee9c2cbe4b767f144a18aa |
|
07-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
dsync: Renamed "slave" to "ibc" (= inter-brain communicator) |