Replication sieve scripts.
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@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@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 =
-- Jan Wideł Senior System Administrator e-mail: jan.widel@networkers.pl mobile: +48 797 004 946 www: http://www.networkers.pl GPG: http://networkers.pl/GPG/2E7359CD.asc
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.
Regards,
Stephan.
What version of Pigeonhole is this? It doesn't look like the latest, since it doesn't include the version in the doveconf banner.
Regards,
Stephan.
Yes, I think it could be that. I have dovecot with replication and without any configuration unless doveadm replication, it's working perfectly for sieve rules.
Regards,
CHUNKZ.NET - script kiddie and computer technician Bertrand Caplet, Flers (FR) Feel free to send encrypted/signed messages Key ID: FF395BD9 GPG FP: DE10 73FD 17EB 5544 A491 B385 1EDA 35DC FF39 5BD9
Hi, Am 13.12.2014 um 22:26 schrieb Stephan Bosch:
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.
(Sorry for opening a second thread - I didn't notice Jan's original post to the same topic)
I'm using the RPMs provided by https://build.opensuse.org/package/show/server:mail/dovecot22
Not being an RPM-expert, they seem to use an older pigeonhole-version.
Regards Hanns
(Sorry for opening a second thread - I didn't notice Jan's original post to the same topic)
Well that's not exactly the same problem so don't worry
Not being an RPM-expert, they seem to use an older pigeonhole-version.
Maybe you could at least test to build it from source the last stable version ?
Regards,
CHUNKZ.NET - script kiddie and computer technician Bertrand Caplet, Flers (FR) Feel free to send encrypted/signed messages Key ID: FF395BD9 GPG FP: DE10 73FD 17EB 5544 A491 B385 1EDA 35DC FF39 5BD9
Hi,
Bertrand Caplet bertrand.caplet@chunkz.net schrieb:
[...]
Maybe you could at least test to build it from source the last stable version ?
I'll give it a try.
I'm using the RPMs provided by https://build.opensuse.org/package/show/server:mail/dovecot22 and they are shipping dovecot with pigeonhole 0.4.3.
I'm trying to build with 0.4.6 in Opensuse build service with no luck so far which is definitely caused by my complete lack of knowledge with building RPMs, modifying *.spec-files and the OBS.
But this doesn't belong to this list (though I appreciate any hints and help).
Regards Hanns
Am 14.12.2014 um 18:14 schrieb Hanns Mattes:
Hi,
Bertrand Caplet bertrand.caplet@chunkz.net schrieb:
[...]
Maybe you could at least test to build it from source the last stable version ?
I'll give it a try.
I'm using the RPMs provided by https://build.opensuse.org/package/show/server:mail/dovecot22 and they are shipping dovecot with pigeonhole 0.4.3.
I'm trying to build with 0.4.6 in Opensuse build service with no luck so far which is definitely caused by my complete lack of knowledge with building RPMs, modifying *.spec-files and the OBS.
But this doesn't belong to this list (though I appreciate any hints and help).
Regards Hanns
be sure to use latest revision
https://build.opensuse.org/package/view_file/openSUSE:Factory/dovecot22/dove...
https://build.opensuse.org/package/show/server:mail/dovecot22?rev=49
dovecot-2.2-pigeonhole-0.4.3_adapt_to_2.2.15.patch
latest dove sieve is
http://pigeonhole.dovecot.org/download.html
v0.4.6
so suse people may upgrade to sieve pigeonhole latest, contact them via mail etc
dovecot itself seems up2date with latest revision
Best Regards MfG Robert Schetterer
-- [*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein
Hi,
Robert Schetterer rs@sys4.de schrieb:
[...]
so suse people may upgrade to sieve pigeonhole latest, contact them via mail etc [...]
I sent a mail to one of the Maintainers (darix) and they updated only an hour later - very nice guy.
After the following upgrade, the sieve-scripts are replicated - very good.
Best regards
Hanns Mattes
Am 15.12.2014 um 14:00 schrieb Hanns Mattes:
Hi,
Robert Schetterer rs@sys4.de schrieb:
[...]
so suse people may upgrade to sieve pigeonhole latest, contact them via mail etc [...]
I sent a mail to one of the Maintainers (darix) and they updated only an hour later - very nice guy.
After the following upgrade, the sieve-scripts are replicated - very good.
Best regards
Hanns Mattes
cool !
Best Regards MfG Robert Schetterer
-- [*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein
I sent a mail to one of the Maintainers (darix) and they updated only an hour later - very nice guy.
After the following upgrade, the sieve-scripts are replicated - very good.
Best regards
Hanns Mattes
Wow, very quick ! I love those kind of guys.
Regards,
CHUNKZ.NET - script kiddie and computer technician Bertrand Caplet, Flers (FR) Feel free to send encrypted/signed messages Key ID: FF395BD9 GPG FP: DE10 73FD 17EB 5544 A491 B385 1EDA 35DC FF39 5BD9
Hi
Am 15.12.2014 um 14:00 schrieb Hanns Mattes:
After the following upgrade, the sieve-scripts are replicated - very good.
I stand corrected. They are sometimes updated, sometimes not. I didn't have time for testing (and I don't see a system), but it's not reliably.
I will report after some testing.
Regards Hanns
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 =
protocol lmtp { mail_plugins = " notify replication mail_log quota sieve" postmaster_address = postmaster@networkers.pl }
protocol sieve { managesieve_implementation_string = Dovecot Pigeonhole managesieve_max_line_length = 65536 }
-- Jan Wideł Senior System Administrator e-mail: jan.widel@networkers.pl mobile: +48 797 004 946 www: http://www.networkers.pl GPG: http://networkers.pl/GPG/2E7359CD.asc
participants (5)
-
Bertrand Caplet
-
Hanns Mattes
-
Jan Wideł
-
Robert Schetterer
-
Stephan Bosch