This is a drop-in provider for ApisCP to enable mail support for accounts that use MXRoute. This provider is built into apnscp.
A server name is required to configure MXRoute. Servers are assigned to each account and provided at sign-up with MXRoute. For example, "ghost" and "arrow" are two known MXRoute servers. Yours may be different. Substitute SERVER with your server name.
EditDomain -c mail,provider=mxroute -c mail,key=SERVER domain.com
- Module- overrides Email_Module behavior
- Validator- optional service validator, checks input with AddDomain/EditDomain helpers
All module methods can be overwritten. The following are the bare minimum that are overwritten for this Mail provider to work:
get_records
- returns a list of DNS records to provision for the domain
Submit a PR and have fun!