Our support team has generated a number of Python scripts for use with AXIGEN Command Line Interface (CLI), which are meant to automate a number of tasks you may come across.

This page includes a regularly updated list including script names and short descriptions for each of them. Feel free to download and use them for your AXIGEN Mail Server. For any questions regarding these scripts, please use the contact form to send an email to support.

Automation Tools for AXIGEN

remove-accounts.py 2.05 KB remove-accounts.py
Removes one or more accounts from AXIGEN
ftp-backup.tar.gz 7.69 KB ftp-backup.tar.gz
Shell script that simplifies the backup procedure for the Axigen Mail Server. Its purpose is to help system administrators make full or incremental backups of the AXIGEN storage. It makes use of the FTP-Backup service to save and restore information.
import-accounts.py 2.86 KB import-accounts.py
Imports accounts from a specified file, one account per line.
log-parser.tar.gz 6.47 KB log-parser.tar.gz
This is a tool to help system administrators and support engineers identify and isolate errors in either a "default.txt" log file or a maillog. It can scan a log file for any known (handled) errors and save the sessions separately, it can break down the log into sections based on the service type and can save all the sessions matching a given pattern.
mlist-add-addresses.py 2.62 KB mlist-add-addresses.py
Adds addresses from a a file (each line containing "email@address full name")
to a specific mailing list

mlist-add-user.py 2.43 KB mlist-add-user.py
Adds a local account to a specified mailing list from the same local domain
cli2.py 39.73 KB cli2.py
AXIGEN CLI Control Module

This module implements the base CLI class to be able to transparently access
AXIGEN's CLI commands via methods, along with some useful methods to process
the data returned by the standard CLI class commands.

In order to be able to use this module, please copy it either into the same
directory as the script that imports it, or in a directory from
sys.path/PYTHONPATH.
last-login.py 5.26 KB last-login.py
Lists or deletes the accounts that have not logged since a number of days

verify-email.py 3.00 KB verify-email.py
Verifies if an e-mail address exists locally in AXIGEN
set-bulk-accounts.py 4.38 KB set-bulk-accounts.py
Script that uses the CLI module to set a number of attributes for a bulk
account list.
list-accounts.py 3.14 KB list-accounts.py
Script that uses the CLI module to display all accounts within a domain, a list
of domains, or all domains.
create-account.py 2.64 KB create-account.py
Creates an account in a specific domain

get-ldap-accounts.py 3.10 KB get-ldap-accounts.py
Queries a LDAP server for fetching a list of accounts and displaying them in a
specific format. Created and tested for Active Directory.
rename-account.py 2.29 KB rename-account.py
Renames an account

.

Testimonials

I would further like to add that not once has my mail server been down or off line. If there was any problem, it was sorted out quickly with your help.
Hardip Chana