Hello,
What is the best way to backup (migrate) sieve rules?
I tried:
"doveadm backup -u somebox@somedomain maildir:/backup_dir"
"doveadm backup -u somebox@somedomain remote:newmailserver.somedomain"

Messages are copied but sieve rules are not.
dovecot --version: 2.3.21.1

doveconf -n:
# 2.3.21.1 (d492236fa0): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.21.1 (49005e73)
# OS: OpenBSD 7.5 amd64  
# Hostname: mail
first_valid_uid = 1000
mail_attachment_dir = /work/vmail/attaches
mail_attachment_min_size = 10 k
mail_gid = 2000
mail_home = /work/vmail/%n
mail_location = sdbox:~/dbox
mail_plugins = " zlib acl"
mail_uid = 2000
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character 
vacation subaddress comparator-i;ascii-numeric relational r
mbox_write_locks = fcntl
mmap_disable = yes
namespace {
  list = children
  location = sdbox:/work/vmail/%%d/%%n/dbox:INDEXPVT=~/dbox/shared/%%u
  prefix = shared/%%u/
  separator = /
  subscriptions = no
  type = shared
}
namespace inbox {
  inbox = yes
  location = 
  mailbox Drafts {
    auto = subscribe
    special_use = \Drafts
  }
  mailbox Junk {
    auto = subscribe
    special_use = \Junk
  }
  mailbox Sent {
    auto = subscribe
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    auto = subscribe
    special_use = \Trash
  }
  prefix = 
  separator = /
  type = private
}
passdb {
  driver = bsdauth
}
passdb {
  args = /etc/dovecot/dovecot-shared.conf.ext
  driver = ldap
}
passdb {
  args = /etc/dovecot/dovecot-ldap_somedomain.conf.ext
  driver = ldap
}
plugin {
  acl = vfile
  acl_shared_dict = file:/var/db/dovecot/db/shared-mailboxes.db
  sieve = file:~/sieve;active=~/.dovecot.sieve
  zlib_save = lz4
  zlib_save_level = 9
}
protocols = imap lmtp submission sieve
service decode2text {
  executable = script /usr/local/libexec/dovecot/decode2text.sh
  unix_listener decode2text {
    mode = 0666
  }
  user = _dovecot
}
service lmtp {
  user = vmail
}
service managesieve-login {
  inet_listener sieve {
    port = 4190
  }
  inet_listener sieve_deprecated {
    port = 2000
  }
}
ssl_cert = </etc/letsencrypt/live/somedomain/fullchain.pem
ssl_key = # hidden, use -P to show it
submission_relay_host = localhost
submission_relay_trusted = yes
userdb {
  driver = passwd
}
userdb {
  args = /etc/dovecot/dovecot-shared.conf.ext
  default_fields = uid=vmail gid=vmail home=/work/vmail/%n_%{domain_first}
  driver = ldap
}
userdb {
  args = uid=vmail gid=vmail
  driver = static
}
verbose_proctitle = yes
protocol lmtp {
  mail_plugins = " zlib acl sieve"
}
protocol imap {
  mail_max_userip_connections = 100
  mail_plugins = " zlib acl imap_acl"
}
protocol submission {
  mail_max_userip_connections = 100
}



-- 
Best regards
Maksim Rodin
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to