dsync: Keywords not being replicated
Karsten Heiken
heiken at luis.uni-hannover.de
Tue Aug 16 17:03:32 UTC 2016
I just noticed that some IMAP keywords are not being replicated through dsync backup/sync using Dovecot 2.2.24 from Debian backports:
On the master server everything looks fine:
RECORD: seq=3, uid=44731, flags=0x09 (Seen Answered)
- ext 0 keywords : (0900) <-- 0900
- ext 1 modseq : 701695 (ffb40a0000000000)
- ext 3 cache : 3948 (6c0f0000)
- ext 4 sort-s : 0 (00000000)
On Replica:
RECORD: seq=3, uid=44731, flags=0x09 (Seen Answered)
- ext 0 keywords : (0000) <-- 0000
- ext 1 modseq : 701695 (ffb40a0000000000)
- ext 3 cache : 3948 (6c0f0000)
In this case the "forwarded" keyword is gone. Thunderbird no longer displays the message as having been forwarded.
The command I used was:
> doveadm sync -u myuser -l 60 -N tcp:replica:24245
My config is attached.
It looks like there are other users also having the same problem: http://dovecot.org/list/dovecot/2016-January/102951.html
Thanks,
Karsten
--
Karsten Heiken Leibniz Universität IT Services
Kommunikationssysteme E-Mail, XMPP, Kalender
Schloßwender Str. 5
D-30159 Hannover
-------------- next part --------------
# 2.2.24 (a82c823): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.13 (7b14904)
# OS: Linux 3.16.0-4-amd64 x86_64 Debian 8.5
default_vsz_limit = 512 M
dict {
acl = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
}
lmtp_rcpt_check_quota = yes
mail_attribute_dict = file:%h/Maildir/dovecot-attributes
mail_gid = 7777
mail_location = maildir:%h/Maildir
mail_plugins = " zlib quota acl notify listescape"
mail_shared_explicit_inbox = yes
mail_uid = 7777
mailbox_list_index = yes
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext imapflags notify
namespace {
hidden = no
ignore_on_failure = no
inbox = no
list = children
location = maildir:%%h/Maildir:INDEX=%h/shared/%%u:INDEXPVT=%h/shared/%%u
prefix = shared/%%u/
separator = /
subscriptions = no
type = shared
}
namespace inbox {
hidden = no
inbox = yes
list = yes
location =
mailbox 30dTrash {
auto = subscribe
autoexpunge = 30 days
special_use = \Junk
}
mailbox Drafts {
auto = subscribe
special_use = \Drafts
}
mailbox Sent {
auto = subscribe
special_use = \Sent
}
mailbox Trash {
auto = subscribe
special_use = \Trash
}
prefix =
separator = /
subscriptions = yes
type = private
}
passdb {
args = /etc/dovecot/dovecot-ldap.conf.ext
driver = ldap
}
plugin {
acl = vfile
acl_shared_dict = proxy::acl
quota = maildir:Postfach-Limit
quota_grace = 2%%
quota_rule = *:storage=8G
quota_status_nouser = DUNNO
quota_status_overquota = 552 5.2.2 Mailbox is full
quota_status_success = DUNNO
sieve = ~/.dovecot.sieve
sieve_dir = ~/sieve
sieve_extensions = +notify +imapflags
sieve_max_actions = 250
sieve_max_redirects = 200
zlib_save = gz
zlib_save_level = 6
}
protocols = " imap lmtp sieve pop3 sieve"
replication_dsync_parameters = -d -l 300 -U -n inbox
service auth {
unix_listener auth-userdb {
group = vmail
user = vmail
}
}
service dict {
unix_listener dict {
group = vmail
mode = 0660
user = vmail
}
}
service doveadm {
inet_listener {
port = 24245
}
}
service imap-login {
process_min_avail = 16
service_count = 0
}
service imap {
executable = imap postlogin
process_limit = 30000
}
service lmtp {
inet_listener lmtp {
port = 24
}
}
service managesieve-login {
inet_listener sieve {
port = 4190
}
}
service managesieve {
process_limit = 1024
}
service pop3-login {
process_min_avail = 4
service_count = 0
}
service pop3 {
process_limit = 2500
}
service postlogin {
executable = script-login -d rawlog /usr/local/bin/dovecot-postlogin.sh
}
service quota-status {
client_limit = 1
executable = quota-status -p postfix
inet_listener {
port = 12340
}
}
shutdown_clients = no
ssl_cert = </etc/dovecot/private/fullchain.pem
ssl_key = </etc/dovecot/private/privkey.pem
syslog_facility = local6
userdb {
args = /etc/dovecot/dovecot-ldap.conf.ext
default_fields = home=/var/vmail/%Ld/%Ln quota_rule=*:bytes=8589934592
driver = ldap
}
verbose_proctitle = yes
protocol lmtp {
mail_plugins = " zlib quota acl notify listescape sieve quota"
}
protocol lda {
mail_plugins = " zlib quota acl notify listescape sieve"
}
protocol imap {
imap_metadata = yes
mail_max_userip_connections = 50
mail_plugins = " zlib quota acl notify listescape imap_zlib imap_quota imap_acl"
}
protocol pop3 {
mail_max_userip_connections = 10
mail_plugins = " zlib quota acl notify listescape"
}
More information about the dovecot
mailing list