Replication sieve scripts.
Jan Wideł
jan.widel at networkers.pl
Sun Dec 14 00:23:56 UTC 2014
On 12/13/2014 10:26 PM, Stephan Bosch wrote:
> On 12/4/2014 12:03 AM, Jan Wideł wrote:
>> 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.
>>
>
> What version of Pigeonhole is this? It doesn't look like the latest,
> since it doesn't include the version in the doveconf banner.
Truly, I don't remember. I was thinking about sync this files by
software like https://www.csync.org/, but after while (and some
updates) replication sieve starts working... magically. It bugs me why,
but I have no idea.
Debs are from:
deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.2 main
My current config is:
# 2.2.15 (6dd190bd6dcb): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.6
# OS: Linux 3.2.0-4-grsec-amd64 x86_64 Debian 7.7 ext4
doveadm_password = xxxxx
doveadm_port = 10900
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 environ
ment mailbox date index ihave duplicate vnd.dovecot.duplicate
plugin {
mail_log_events = delete undelete expunge copy mailbox_delete
mailbox_rename
mail_log_fields = uid box msgid size
mail_replica = tcps:mail2.xxxxxx:10900
sieve = file:~/sieve;active=~/dovecot.sieve
sieve_dir = ~/sieve
sieve_duplicate_period = 6h
sieve_extensions = +vnd.dovecot.duplicate
sieve_global_dir = /etc/dovecot/sieve/global/
sieve_global_path = /etc/dovecot/sieve/default.sieve
}
replication_max_conns = 5
service aggregator {
fifo_listener replication-notify-fifo {
user = vmail
}
unix_listener replication-notify {
user = vmail
}
}
service managesieve {
process_limit = 1024
}
service replicator {
process_min_avail = 1
unix_listener replicator-doveadm {
group = vmail
mode = 0660
user = dovecot
}
}
ssl_cert = </etc/dovecot/dovecot.pem
ssl_client_ca_dir = /etc/ssl/certs
ssl_key = </etc/dovecot/private/dovecot.pem
protocol lmtp {
mail_plugins = " notify replication mail_log quota sieve"
postmaster_address = postmaster at networkers.pl
}
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