Command line tools for mxroute.com mail hosting
A python script for interacting with the Direct Admin API on MXRoute.com mail hosting and getting lists of domains, mailboxes and forwarders.
- List domains managed by account
- List mailboxes
- List forwarders
- Check DKIM settings on domains
- Update or create forwarders
To update a list of forwarders, use this command line:
./mxroute_tools.py -s server -u username fwd < list-of-forwarders.txt
list-of-forwarders.txt should look like this (the same format as the DirectAdmin raw data):
You can use the list command to generate a list of all current forwarders and then edit this.
Requires python 3.8 and above.