migration from cyrus with dsync sieve problem

Alessandro Bono alessandro.bono at gmail.com
Mon Sep 15 14:07:42 UTC 2014


Hi all

i'm migrating a cyrus imapd server to dovecot with dsync
everyting seems working but sieve rules are not copied to dovecot server
I searched for documentation but without any luck
I use the configuration below with

doveadm -v -o mail_fsync=never backup -R -u emailaddr imapc:

Is sieve supported with dsync? How I can specify sieve server address 
and port?

# 2.2.13.21 (606efd4a4f35): /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-431.29.2.el6.x86_64 x86_64 CentOS release 6.5 (Final) 
ext4
auth_default_realm = mydomain.com
auth_mechanisms = plain login
auth_realms = mydomain.com
auth_socket_path = /var/run/dovecot/auth-userdb
first_valid_gid = 492
first_valid_uid = 492
hostname = mydomain.com
imap_client_workarounds = delay-newmail tb-extra-mailbox-sep tb-lsub-flags
imap_id_log = *
imap_idle_notify_interval = 29 mins
imapc_features = rfc822.size fetch-headers
imapc_host = oldserver.mydomain.com
imapc_master_user = cyrus
imapc_password = xxxxxxx
imapc_user = %u
last_valid_gid = 492
last_valid_uid = 492
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c %k
mail_attachment_dir = /var/vmail/%d/attachments/
mail_location = maildir:/var/vmail/%d/%n/Maildir:LAYOUT=fs
mail_plugins = zlib listescape acl
mail_prefetch_count = 20
mailbox_list_index = yes
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
mbox_write_locks = fcntl
namespace inbox {
   inbox = yes
   list = 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 =
   separator = /
   subscriptions = yes
   type = private
}
passdb {
   args = /etc/dovecot/dovecot-sql.conf.ext
   driver = sql
}
plugin {
   acl = vfile
   sieve = file:~/sieve;active=~/.dovecot.sieve
}
protocols = imap lmtp sieve
service auth {
   unix_listener /var/spool/postfix/private/auth {
     mode = 0666
   }
}
service imap-login {
   inet_listener imap {
     port = 143
   }
   inet_listener imaps {
     port = 993
     ssl = yes
   }
}
service lmtp {
   user = vmail
}
ssl = required
ssl_cert = </etc/pki/tls/certs/imap.mydomain.com.crt
ssl_cipher_list = EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM 
EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 
EECDH+aRSA+SHA256 EECDH+aRSA+AES EECDH+aRSA+RC4 EECDH EDH+aRSA RC4 
!aNULL !eNULL !LOW !3DES !MD5 !EXP !PSK !SRP !DSS
ssl_dh_parameters_length = 2048
ssl_key = </etc/pki/tls/private/imap.mydomain.com.pem
ssl_prefer_server_ciphers = yes
userdb {
   args = uid=vmail gid=vmail home=/var/vmail/%d/%n
   driver = static
}
protocol lmtp {
   mail_plugins = zlib listescape acl sieve
}
protocol lda {
   mail_plugins = zlib listescape acl sieve
}
protocol imap {
   mail_max_userip_connections = 40
   mail_plugins = zlib listescape acl imap_zlib imap_acl
}

-- 
Cordiali saluti

Alessandro Bono



More information about the dovecot mailing list