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
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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20141213/79ba3365/attachment.sig>
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
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
Seemingly Similar Threads
- Geting mail quota exceeded with plenty of space
- Failed installation on Ubuntu with Postfix/Dovecot/Squirrelmail
- Probably K9 not Outlook - Re: Outlook 2010 not connecting to secure POP3
- Failed installation on Ubuntu with Postfix/Dovecot/Squirrelmail
- Deleting empty folders