doveadm mailbox cryptokey - not found
Hi, we have a problem. Command "doveadm mailbox cryptokey" does not work:
# doveadm mailbox cryptokey
usage: doveadm [-Dv] [-f <formatter>] mailbox <command> [<args>]
create [-u <user>|-A] [-S
What is the problem?
Install: http://wiki2.dovecot.org/CompilingSource#Compiling_Dovecot_From_Sources : ./configure && make && sudo make install
# dovecot -n # 2.2.27 (c0f36b0): /etc/dovecot/dovecot.conf # OS: Linux 4.4.38-std-def-alt0.M80P.1 x86_64 ALT starter kit (Hypericum) mail_location = mbox:~/mail:INBOX=/var/mail/%u mbox_write_locks = fcntl 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 { driver = pam } ssl = required ssl_cert =
-- WBR, BaseALT/ALTLinux Team
On 12.01.2017 16:05, Evgeniy Korneechev wrote:
Hi, we have a problem. Command "doveadm mailbox cryptokey" does not work:
# doveadm mailbox cryptokey usage: doveadm [-Dv] [-f <formatter>] mailbox <command> [<args>] create [-u <user>|-A] [-S
] [-s] [-g <guid>] <mailbox> [...] delete [-u <user>|-A] [-S ] [-e] [-r] [-s] [-Z] <mailbox> [...] ...... What is the problem?
Install: http://wiki2.dovecot.org/CompilingSource#Compiling_Dovecot_From_Sources : ./configure && make && sudo make install
# dovecot -n # 2.2.27 (c0f36b0): /etc/dovecot/dovecot.conf # OS: Linux 4.4.38-std-def-alt0.M80P.1 x86_64 ALT starter kit (Hypericum) mail_location = mbox:~/mail:INBOX=/var/mail/%u mbox_write_locks = fcntl 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 { driver = pam } ssl = required ssl_cert =
You forgot to load mail_crypt plugin.
mail_plugins = $mail_plugins mail_crypt
Aki
You forgot to load mail_crypt plugin.
mail_plugins = $mail_plugins mail_crypt
With these settings also. # dovecot -n ..... mail_location = mbox:~/mail:INBOX=/var/mail/%u mail_plugins = " mail_crypt" mbox_write_locks = fcntl ..... # service dovecot restart # doveadm mailbox cryptokey usage: doveadm [-Dv] [-f .........
# ls /usr/lib64/dovecot/modules/* | grep mail_crypt /usr/lib64/dovecot/modules/lib05_mail_crypt_acl_plugin.so /usr/lib64/dovecot/modules/lib10_mail_crypt_plugin.so /usr/lib64/dovecot/modules/libfs_mail_crypt.so /usr/lib64/dovecot/modules/doveadm/libdoveadm_mail_crypt_plugin.so
-- С уважением, Корнеечев Евгений, ООО "Удаленные системы", Тел: +7 (495) 989-48-28 Моб: +7 (929) 589-95-26 Е-Майл: hotline@rem-sys.ru (для заявок) Е-Майл: ek@rem-sys.ru (личный)
participants (3)
-
Aki Tuomi
-
Evgeniy Korneechev
-
Корнеечев Евгений