doveadm-exec (1)
Leading comments
Copyright (c) 2013-2016 Dovecot authors, see the included COPYING file
NAME
doveadm-exec - easily execute commands from Dovecotaqs libexec_dirSYNOPSIS
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.
- -o setting=value
- Overrides the configuration setting from /etc/dovecot/dovecot.conf and from the userdb with the given value. In order to override multiple settings, the -o option may be specified multiple times.
- -v
- Enables verbosity, including progress counter.
ARGUMENTS
- binary
- the name of an executable located in /usr/lib/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 useraqs mailbox.
doveadm exec dovecot-lda -d user@example.net rs -f admin@example.net < ti/stuff/welcome.msg