Handy cli interface to manage an vmail-sql-db.
Project description
vmail-manager
DISCLAIMER: THIS APPLICATION IS STILL IN ALPHA/BETA STATE. DO NOT USE IT IN PRODUCTIVE ENVIRONMENTS IF YOU DON'T WHAT YOU'RE DOING!
vmail-manager
is a command line to for managing a mail-server database based on the great HowTo (german version)
from Thomas Leister written in Python3.
Features
- manage the tables
domains
,accounts
andaliases
(tlspolicies
support will maybe be added one day) - supports multiple database backends (if your setup differs from the HowTo, i used postgresql instead of mariadb)
Installation
via pip
Install it with pip3 install vmail-manager
manually
Clone this git on your local machine and go into the directory.
Optional: Create a venv and activate it.
Install all requirements with pip3 install -r requirements.txt
Run the tool with ./vmail-manager.py
(or add the folder to your path and create an alias to vmail-manager
)
Usage
Use the command help to get started:
vmail-manager --help
Configuration
All config values stored in the config file can be overwritten with command line options.
Config files are formatted in YAML and loaded via confuse The paths for the config file are (dependent on the OS):
- macOS:
~/.config/vmail-manager/config.yaml
and~/Library/Application Support/vmail-manager/config.yaml
- Other Unix (Linux, BSD...):
$XDG_CONFIG_HOME/vmail-manager/config.yaml
and~/.config/vmail-manager/config.yaml
- Windows:
%APPDATA%\vmail-manager\config.yaml
where theAPPDATA
environment variable falls back to%HOME%\AppData\Roaming
if undefined
Some more paths are checked, if you wan't to store your config elsewhere look in the confuse documentation section about config paths.
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
Built Distribution
Hashes for vmail_manager-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8749bbb28c41958366d16c8e5cd76bcba11e0360ff48b72fe1b2cc59dc20e84f |
|
MD5 | a18aa1cb9119f8974650d1813a1c7e05 |
|
BLAKE2b-256 | 3f2bfba804318d2734d0fa083ee9963dce68b04aec29816f1274c05b93b0ddfb |