doveadm-exec (1) Linux Manual Page
doveadm-exec – easily execute commands from Dovecot’s libexec_dir
Synopsis
doveadm [-Dv] exec binary [binary arguments]Description
This command allows administrators and local users to simply execute commands from within libexec_dir. So for example a logged in system user could start a pre-authenticated imap session, using the command: doveadm exec imap. An administrator would use the command: doveadm exec imap -u username.Options
Global doveadm(1) options:- -D
- Enables verbosity and debug messages.
- -v
- Enables verbosity, including progress counter.
Arguments
- binary
- the name of an executable located in /usr/libexec/dovecot.
- binary arguments
- options and arguments, wich will be passed through to the binary.
Example
This example demonstrates how to deliver a message from a file to a user’s mailbox.
doveadm exec dovecot-lda -d user [at] example.net \
-f admin [at] example.net < ~/stuff/welcome.msg
