[Dovecot] How do I enable dsync sieve script replication?

Oli Schacher dovecot at lists.wgwh.ch
Fri Mar 22 13:04:46 EET 2013


Hi all,

Thank you Timo for adding sieve script replication to dsync, much
appreciated! Should this run out of the box with 2.2.rc3 and latest
pigeonhole+patch or does this have to be enabled in the configuration
somehow?

I upgraded my dsync replication test setup, but it doesn't sync sieve
so far, so I'm not sure if this is a config issue or if I maybe made a
mistake while upgrading/patching.


btw: not sure if you saw this bugreport, dsync over tcp still produces
"no command given" errors randomly
(http://www.dovecot.org/list/dovecot/2013-March/088751.html)

Thanks
Oli

#dovecot -n:

# 2.2.rc3: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-279.22.1.el6.x86_64 x86_64 CentOS release 6.3 (Final) 
auth_master_user_separator = *
auth_mechanisms = plain login
dict {
  acl = mysql:/etc/dovecot/dovecot-dict-shares.conf
  quotadict = mysql:/etc/dovecot/dovecot-dict-quota.conf
}
disable_plaintext_auth = no
doveadm_password = <munged>
listen = *
login_greeting = Dovecot ready.
mail_max_userip_connections = 50
mail_plugins = " quota notify replication"
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
namespace {
  list = children
  location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u
  prefix = shared/%%u/
  separator = /
  subscriptions = no
  type = shared
}
namespace inbox {
  inbox = yes
  location = 
  mailbox Drafts {
    auto = subscribe
    special_use = \Drafts
  }
  mailbox Sent {
    auto = subscribe
    special_use = \Sent
  }
  mailbox Spam {                                                                                                                                                                                                                 
    auto = subscribe                                                                                                                                                                                                             
    special_use = \Junk                                                                                                                                                                                                          
  }                                                                                                                                                                                                                              
  mailbox Trash {                                                                                                                                                                                                                
    auto = subscribe                                                                                                                                                                                                             
    special_use = \Trash                                                                                                                                                                                                         
  }                                                                                                                                                                                                                              
  prefix =                                                                                                                                                                                                                       
  separator = /
  type = private
}
passdb {
  args = /etc/dovecot/dovecot-sql.conf
  driver = sql
}
plugin {
  acl = vfile:/etc/dovecot/acls
  acl_shared_dict = proxy::acl
  mail_replica = tcp:<munged>:1337
  quota = dict:::proxy::quotadict
  quota_rule = *:storage=10M:messages=1000
  quota_rule2 = Spam:ignore
  quota_rule3 = Trash:storage=+100M
  quota_warning = storage=95%% quota-warning 95 %u
  quota_warning2 = storage=75%% quota-warning 75 %u
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
}
protocols = pop3 imap lmtp sieve
service aggregator {
  fifo_listener replication-notify-fifo {
    user = fumail
  }
  unix_listener replication-notify {
    user = fumail
  }
}
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
  unix_listener auth-master {
    group = fumail
    mode = 0660
    user = fumail
  }
  user = root
}
service dict {
  unix_listener dict {
    mode = 0600
    user = fumail
  }
}
service doveadm {
  inet_listener {
    port = 1337
  }
}
service imap {
  vsz_limit = 2 G
}
service lmtp {
  inet_listener lmtp {
    address = 127.0.0.1
    port = 24
  }
  process_min_avail = 5
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
    group = postfix
    mode = 0660
    user = postfix
  }
}
service managesieve {
  vsz_limit = 2 G
}
service pop3 {
  vsz_limit = 2 G
}
service quota-warning {
  executable = script /usr/local/bin/quotawarning.py
  unix_listener quota-warning {
    mode = 0666
    user = fumail
  }
  user = fumail
}
service replicator {
  process_min_avail = 1
}
ssl_cert = </etc/ssl/<munged>.crt
ssl_key = </etc/ssl/<munged>.key
userdb {
  args = /etc/dovecot/dovecot-sql.conf
  driver = sql
}
protocol imap {
  imap_client_workarounds = 
  mail_plugins = " quota notify replication acl imap_acl quota imap_quota"
}
protocol pop3 {
  mail_plugins = " quota notify replication quota"
  pop3_uidl_format = %08Xu%08Xv
}
protocol sieve {
  managesieve_logout_format = bytes ( in=%i : out=%o )
}
protocol lmtp {
  deliver_log_format = from=<%f> msgid=%m action=<%$> subject=%s
  mail_plugins = " quota notify replication sieve quota"
  postmaster_address = postmaster@<munged>
  quota_full_tempfail = yes
}


-- 
message transmitted on 100% recycled electrons


More information about the dovecot mailing list