Sponsor:

Your company here, and a link to your site. Click to find out more.

doveadm-exec - Man Page

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.

-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/libexec/dovecot.

binary arguments

options and arguments, which 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@example.net \
-f admin@example.net < ~/stuff/welcome.msg

Reporting Bugs

Report bugs, including doveconf -n output, to the Dovecot Mailing List <dovecot@dovecot.org>. Information about reporting bugs is available at: http://dovecot.org/bugreport.html

See Also

doveadm(1), dovecot-lda(1)

Referenced By

doveadm(1).

2013-08-05 Dovecot v2.3