replication sieve settings

Martin Schmidt martinschmidtii at gmx.de
Mon Oct 20 16:52:43 UTC 2014


Hello,

can someone give me a hint, where to find an info, how to setup dovecote 
replication with sieve?

On my active.active setup, it replicates the user mdboxes
and sieve works also, on the active destination fileserver.

Client changes the sieve, tests work fine. But the sieve file won't get 
replicated to the replica server.

As i've researched, it was introduced in dovecot v2.2.rc3

Is it default, that doveadm replicator replicate '*'
includes the sieve and i made a config error?
Or is there an option to set for the replication service?



On dovecot director server, i've set director
in conf.d/20-managesieve.conf

service managesieve-login {
   executable =  managesieve-login director
   inet_listener sieve {
     port = 4190
   }
}

and added sieve to plugins
in conf.d/20-lmtp.conf
protocol lmtp {
   mail_plugins = $mail_plugins sieve
}



doveconf -n
...
director_mail_servers = 192.168.200.10 192.168.200.11
director_servers = 192.168.200.1:9090 192.168.200.2:9090
disable_plaintext_auth = no
doveadm_port = 24245
lmtp_proxy = 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 ihave duplicate

plugin {
   sieve = file:~/sieve;active=~/.dovecot.sieve
}
protocols = " imap lmtp sieve pop3"
...

service managesieve-login {
   executable = managesieve-login director
   inet_listener sieve {
     port = 4190
   }
}
...
protocol lmtp {
   auth_socket_path = director-userdb
   mail_plugins = " sieve"
}
...




Thank you

Martin Schmidt
Germany


More information about the dovecot mailing list