Script to add/delete email accounts and aliases


New member
Sep 24, 2019

Does such a thing exist? I am wanting a script that someone who does NOT have access to the DA control panel can add/delete email/aliases for a specific domain.

I imagine that this could be created using the API, though what little API documentation I have seen does not mention aliases.

An example of what I am wanting can be found at the below link on GitHub. This script was created for Mail-in-a-Box.

If there is no such creation for Direct Admin, any pointers in the right direction with API information, etc. would be greatly appreciated. I did search the last 1 year + here but did not go through the entirety of the forum (175 pages!) ... if there is older information available please link me.