0.0
No release in over 3 years
There's a lot of open issues
Command Line Tools for Postfix Admin
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
~> 13.0.1
~> 3.9.0

Runtime

~> 6.0.3
>= 0.5.3
~> 1.0.1
 Project Readme

Gem Version

postfix_admin

Command Line Tools for Postfix Admin

Description

Installation

Install postfix_admin as:

$ gem install postfix_admin

Just execute postfix_admin command to generate your config file: ~/.postfix_admin.conf

$ postfix_admin

Edit the file for your environment:

$ vi ~/.postfix_admin.conf

You can see domains on your host if the database parameter is set properly:

$ postfix_admin show

Usage

List the postfix_admin subcommands as:

$ postfix_admin
Commands:
  postfix_admin account_passwd user@example.com new_password               # Change password of account
  postfix_admin add_account user@example.com password                      # Add an account
  postfix_admin add_admin admin@example.com password                       # Add an admin user
  postfix_admin add_admin_domain admin@example.com example.com             # Add admin_domain
  postfix_admin add_alias alias@example.com goto@example.net               # Add an alias
  postfix_admin add_domain example.com                                     # Add a domain
  postfix_admin admin_passwd admin@example.com new_password                # Change password of admin
  postfix_admin delete_account user@example.com                            # Delete an account
  postfix_admin delete_admin admin@example.com                             # Delete an admin
  postfix_admin delete_admin_domain admin@example.com example.com          # Delete admin_domain
  postfix_admin delete_alias alias@example.com                             # Delete an alias
  postfix_admin delete_domain example.com                                  # Delete a domain
  postfix_admin dump                                                       # Dump all data
  postfix_admin edit_account user@example.com                              # Edit an account
  postfix_admin edit_admin admin@example.com                               # Edit an admin user
  postfix_admin edit_alias alias@example.com                               # Edit an alias
  postfix_admin edit_domain example.com                                    # Edit a domain limitation
  postfix_admin help [COMMAND]                                             # Describe available commands or one specific command
  postfix_admin log                                                        # Show action logs
  postfix_admin schemes                                                    # List all supported password schemes
  postfix_admin setup example.com password                                 # Setup a domain
  postfix_admin show [example.com | admin@example.com | user@example.com]  # Show domains or admins or mailboxes
  postfix_admin summary [example.com]                                      # Summarize the usage of PostfixAdmin
  postfix_admin version                                                    # Show postfix_admin version