Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rvojcik/iredmail-cli
iRedMail CLI (MySQL Only), Command Line interface to iRedMail Open Source Email server solution
https://github.com/rvojcik/iredmail-cli
iredmail iredmail-cli
Last synced: 3 months ago
JSON representation
iRedMail CLI (MySQL Only), Command Line interface to iRedMail Open Source Email server solution
- Host: GitHub
- URL: https://github.com/rvojcik/iredmail-cli
- Owner: rvojcik
- License: gpl-2.0
- Created: 2014-03-12T19:12:08.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2020-09-30T14:54:52.000Z (about 4 years ago)
- Last Synced: 2024-07-10T17:01:15.673Z (4 months ago)
- Topics: iredmail, iredmail-cli
- Language: Python
- Size: 25.4 KB
- Stars: 39
- Watchers: 9
- Forks: 14
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starts - rvojcik/iredmail-cli - iRedMail CLI (MySQL Only), Command Line interface to iRedMail Open Source Email server solution (others)
README
iredmail-cli
============UPDATE: This project is abandoned. I have no longeraccess to iredadmin pro version and don't use iredmail in any of my installations. So no more places to test and develop this project. Sorry.
iRedMail CLI (MySQL Only)
Command Line interface to iRedMail Open Source Email server solutionThis is simple CLI interface to some functions of iRedMail. Many admins like CLI tools more like web management.
It's good to have ability to do some basic thinks via command line. This tool in fact use configuration and many other functions from original Web interface. So original iredadmin is one of requirements
#Currently supported features
* Add domain
* Add domain as backup MX
* Add new mailbox
* Add/Update aliases
* Search in domains and mailbox
* Delete single account#TODO
* Delete domain with all accounts#Requirements
* python 2.7
* python-mysqldb
* python-pip
* python-prettytable
* iRedMail Web admin (iredadmin)#Installation
There are two versions of cli script. Pro and free.
Use correct version along with your iredadmin.
Pro version for iredadmin pro and free version for iredadmin free version.Copy script to your sbin directory (for example /usr/local/sbin)
sudo cp email-manage.py /usr/local/sbin/
Install python-mysqldb and python-pip to your system.
In debian/ubuntu run
sudo apt-get install python-mysqldb python-pip
You will need new python-prettytable, so use pip radher then system packages
sudo pip install prettytable
#Configuration
There is only one thing you need set up. Open email-manage.py and find rows:
# iRedAdmin location
iredadmin_install_path = '/usr/share/apache2/iredadmin'This variables must point to directory where your iRedAdmin web interface is installed. This is default for Debian/Ubuntu.
#Contact
Robert Vojcik