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 <socket_path>] [-s] [-g <guid>] <mailbox> [...] delete [-u <user>|-A] [-S <socket_path>] [-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 = </var/lib/ssl/certs/dovecot.pem ssl_key = # hidden, use -P to show it userdb { driver = passwd } -- 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 <socket_path>] [-s] [-g <guid>] <mailbox> [...] > delete [-u <user>|-A] [-S <socket_path>] [-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 = </var/lib/ssl/certs/dovecot.pem > ssl_key = # hidden, use -P to show it > userdb { > driver = passwd > } > >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 at rem-sys.ru (??? ??????) ?-????: ek at rem-sys.ru (??????)