doveadm mailbox cryptokey - not found

Aki Tuomi aki.tuomi at dovecot.fi
Thu Jan 12 14:20:17 UTC 2017



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


More information about the dovecot mailing list