Replication and Sieve
Hanns Mattes
hanns at hannsmattes.de
Wed Dec 10 20:13:56 UTC 2014
Hi,
I've got two servers set up for replication, which is working fine -
except the sieve scripts.
While the first replication, the existing rules have been replicated
well. Also the activation/Deactivation seems to work. But Changes to the
rules doesn't seem to be transferred.
Configuration should be the same as the other server, except for
mail_replica
dovecot -n:
# 2.2.15: /etc/dovecot/dovecot.conf
# OS: Linux 3.7.10-1.40-desktop x86_64 openSUSE 12.3 (x86_64)
auth_master_user_separator = *
auth_mechanisms = plain login digest-md5 cram-md5 apop
auth_verbose = yes
doveadm_password = strenggeheim
doveadm_port = 54321
mail_location = maildir:~/Maildir
mail_plugins = " quota fts fts_lucene trash zlib 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 ihave duplicate
namespace inbox {
inbox = yes
location =
mailbox Drafts {
auto = subscribe
special_use = \Drafts
}
mailbox Sent {
auto = subscribe
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
auto = subscribe
special_use = \Trash
}
prefix =
}
passdb {
args = /etc/dovecot/master-users
driver = passwd-file
master = yes
pass = yes
}
passdb {
args = /etc/dovecot/dovecot-ldap.conf.ext
driver = ldap
}
plugin {
fts = lucene
fts_autoindex = yes
fts_lucene = whitespace_chars=@.
mail_replica = tcps:mail.bruecko.de
quota = maildir:User quota
quota_exceeded_message = Storage quota for this account has been
exceeded, please try again later.
quota_grace = 100M
quota_rule = *:storage=1000M
quota_rule2 = Trash:storage=+10%%
quota_status_nouser = DUNNO
quota_status_overquota = 552 5.2.2 Mailbox is full / Mailbox ist voll
quota_status_success = DUNNO
quota_warning = storage=95%% quota-warning 95 %u
quota_warning2 = storage=80%% quota-warning 80 %u
quota_warning3 = storage=75%% quota-warning 75 %u
sieve = /virtualmail/%Ld/%Ln/.dovecot.sieve
sieve_dir = /virtualmail/%Ld/%Ln/sieve
sieve_global_dir = /virtualmail
sieve_max_redirects = 32
trash = /etc/dovecot/dovecot-trash.conf.ext
zlib_save = gz
zlib_save_level = 6
}
postmaster_address = admin at 93er.net
protocols = imap pop3 lmtp sieve
service aggregator {
fifo_listener replication-notify-fifo {
user = vmail
}
unix_listener replication-notify {
user = vmail
}
}
service auth {
unix_listener /var/spool/postfix/private/auth {
mode = 0666
}
}
service doveadm {
inet_listener {
port = 54321
ssl = yes
}
}
service imap-login {
inet_listener imap {
port = 143
}
inet_listener imaps {
port = 993
ssl = yes
}
}
service lmtp {
inet_listener lmtp {
address = 127.0.0.1
port = 24
}
user = vmail
}
service managesieve-login {
inet_listener sieve {
port = 4190
}
inet_listener sieve_deprecated {
port = 2000
}
}
service pop3-login {
inet_listener pop3 {
port = 110
}
inet_listener pop3s {
port = 995
ssl = yes
}
}
service quota-status {
client_limit = 1
executable = quota-status -p postfix
inet_listener {
port = 12340
}
}
service quota-warning {
executable = script /usr/local/bin/quota-warning.sh
unix_listener quota-warning {
user = vmail
}
user = vmail
}
service replicator {
process_min_avail = 1
unix_listener replicator-doveadm {
mode = 0666
}
}
ssl_cert = </etc/dovecot/brueckokomplett2014.crt
ssl_client_ca_dir = /etc/ssl/certs
ssl_key = </etc/dovecot/brueckofrei2014.key
userdb {
driver = prefetch
}
userdb {
args = /etc/dovecot/dovecot-ldap.conf.ext
driver = ldap
}
verbose_proctitle = yes
protocol lmtp {
mail_plugins = " quota fts fts_lucene trash zlib notify replication sieve"
}
protocol lda {
mail_plugins = " quota fts fts_lucene trash zlib notify replication sieve"
}
protocol imap {
mail_plugins = " quota fts fts_lucene trash zlib notify replication
imap_quota imap_zlib"
}
Any advice?
Regards
Hanns
More information about the dovecot
mailing list