Skip to main content

Maintain postamt sqlite db

Project description

Objective

Have a command line interface for managing the postamt sqlite database as it is defined in http://rob0.nodns4.us/howto/postfix-dovecot-sqlite.howto.

Usage

Install postamt with pip:

$ pip install postamt

Just call it from CLI:

$ postamt
Usage: postamt [OPTIONS] COMMAND [ARGS]...

  Manage postamt sqlite database.

Options:
  --debug / --no-debug
  --db PATH             The postamt database file
  --help                Show this message and exit.

Commands:
  address  Manage Address table.
  alias    Manage Alias table.
  domain   Manage Domain table.
  init     Init or reset the whole postamt database.
  user     Manage VMailbox table.

You can set POSTAMT_DB environment to point to your database.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Postamt-0.0.10.tar.gz (10.5 kB view hashes)

Uploaded Source

Built Distribution

Postamt-0.0.10-py2.py3-none-any.whl (7.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page