DOKK / manpages / debian 13 / postfixadmin / postfixadmin-cli.1.en
postfixadmin-cli(1) postfixadmin-cli postfixadmin-cli(1)

postfixadmin-cli - a CLI tool to manage postfixadmin

postfixadmin-cli <module> <task> [options]

postfixadmin-cli <module> help

postfixadmin-cli <module> <task> help

postfixadmin-cli is a CLI tool to use postfixadmin like how you use the WebUI. It is a shell sciprt wrapped around /usr/share/postfixadmin/scripts/postfixadmin-cli.php.

Most modules support the following tasks:

View an item.
Add an item.
Update an item.
Delete an item.
Print database scheme (useful for developers only).
Print help output.

Different combinations of MODULES and TASKS have different sets of available options to use. Please see the help messages and the examples below.

To add a mailbox interactively:

postfixadmin-cli mailbox add

To add a mailbox non-interactively, with the new mailbox being inactive:

postfixadmin-cli mailbox add nobody@example.com --password deadbeef12 --password2 deadbeef12 --name "Nobody Nogroup" --welcome-mail --active 0 --email-other backup@example.com

To view the information of a domain:

postfixadmin-cli domain view example.com

Please report bugs to the Debian BTS, i.e. using reportbug(1).

postfix(1), postconf(1), postmap(1), mariadb(1), psql(1), php(1)

Copyright 2024 Jing Luo <jing@jing.rocks>.

This manpage was written by Jing Luo, licensed under the terms of GNU General Pulic License version 2, or at your option any later version. There is absolutely no warranty; see /usr/share/common-licenses/GPL-2 for the terms of the license.

2024-11-30 PostfixAdmin