Replication sieve scripts.
Jan Wideł
jan.widel at networkers.pl
Wed Dec 3 23:03:39 UTC 2014
Hi,
according to changelog 2.2.rc3, dsync should replicate sieve scripts. Do
I need turn on or switch some option(s), for this to work? Replication
of mailboxes works great, only sieve scripts not.
root at mail-1-proidea ~ # dpkg -l dovecot* | grep ^ii
ii dovecot-core 2:2.2.15-1~auto+0
amd64 secure POP3/IMAP server - core files
ii dovecot-imapd 2:2.2.15-1~auto+0
amd64 secure POP3/IMAP server - IMAP daemon
ii dovecot-ldap 2:2.2.15-1~auto+0
amd64 secure POP3/IMAP server - LDAP support
ii dovecot-lmtpd 2:2.2.15-1~auto+0
amd64 secure POP3/IMAP server - LMTP server
ii dovecot-managesieved 2:2.2.15-1~auto+0
amd64 secure POP3/IMAP server - ManageSieve server
ii dovecot-pop3d 2:2.2.15-1~auto+0
amd64 secure POP3/IMAP server - POP3 daemon
ii dovecot-sieve 2:2.2.15-1~auto+0
amd64 secure POP3/IMAP server - Sieve filters support
My configuration (doveconf-n):
# 2.2.15: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-4-grsec-amd64 x86_64 Debian 7.7 ext4
auth_mechanisms = plain login
auth_verbose = yes
default_client_limit = 5000
default_process_limit = 500
default_vsz_limit = 768 M
doveadm_password = xxxxxxxxx
doveadm_port = 10900
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
mail_gid = vmail
mail_location = maildir:/srv/mail/virtual/%d/%u
mail_plugins = " notify replication mail_log"
mail_uid = vmail
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 imapflags notify
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix =
}
passdb {
args = /etc/dovecot/dovecot-ldap.conf.ext
driver = ldap
}
plugin {
mail_log_events = delete undelete expunge copy mailbox_delete
mailbox_rename
mail_log_fields = uid box msgid size
mail_replica = tcps:mail2.xxxxxxx:10900
sieve = file:~/sieve;active=~/dovecot.sieve
sieve_dir = ~/sieve
sieve_extensions = +notify +imapflags
sieve_global_dir = /etc/dovecot/sieve/global/
sieve_global_path = /etc/dovecot/sieve/default.sieve
}
postmaster_address = postmaster at networkers.pl
protocols = " imap lmtp sieve pop3"
replication_max_conns = 5
service aggregator {
fifo_listener replication-notify-fifo {
user = vmail
}
unix_listener replication-notify {
user = vmail
}
}
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
}
unix_listener auth-client {
group = postfix
mode = 0660
user = postfix
}
unix_listener auth-master {
group = vmail
mode = 0660
user = vmail
}
unix_listener auth-userdb {
group = vmail
mode = 0660
user = vmail
}
}
service doveadm {
inet_listener {
address = x.x.x.x
port = 10900
ssl = yes
}
}
service imap-login {
inet_listener imap {
port = 143
}
inet_listener imaps {
port = 993
ssl = yes
}
process_limit = 500
process_min_avail = 2
}
service lmtp {
unix_listener /var/spool/postfix/private/dovecot-lmtp {
group = postfix
mode = 0660
user = postfix
}
}
service managesieve-login {
inet_listener sieve {
port = 4190
}
}
service managesieve {
process_limit = 1024
}
service pop3-login {
inet_listener pop3 {
port = 110
}
inet_listener pop3s {
port = 995
ssl = yes
}
}
service replicator {
process_min_avail = 1
unix_listener replicator-doveadm {
group = vmail
mode = 0660
user = dovecot
}
}
ssl = required
ssl_cert = </etc/dovecot/dovecot.pem
ssl_client_ca_dir = /etc/ssl/certs
ssl_key = </etc/dovecot/private/dovecot.pem
userdb {
args = /etc/dovecot/dovecot-ldap.conf.ext
default_fields = home=/srv/mail/virtual/%d/%u
driver = ldap
}
protocol lmtp {
mail_plugins = " notify replication mail_log quota sieve"
postmaster_address = postmaster at networkers.pl
}
protocol lda {
auth_socket_path = /var/run/dovecot/auth-master
mail_plugins = " notify replication mail_log sieve sieve autocreate"
}
protocol imap {
mail_max_userip_connections = 20
}
protocol sieve {
managesieve_implementation_string = Dovecot Pigeonhole
managesieve_max_line_length = 65536
}
--
Jan Wideł
Senior System Administrator
e-mail: jan.widel at networkers.pl
mobile: +48 797 004 946
www: http://www.networkers.pl
GPG: http://networkers.pl/GPG/2E7359CD.asc
More information about the dovecot
mailing list