Postfix Rate Control is an REST API permit to manage efficialy the postfix mx rules.
###################################### Welcome to PRC 's documentation! ###################################### .. automodule:: init .. note:: This is a BETA version.
User Documentation
About postfix and rate limiting :
http://www.postfix.org/TUNING_README.html
Authentication:
If you want to use the API, you must connecting you for each action (with login/password). You can use a token authentitication which you give an access to 600 seconds.
URL available :
/
Root url, list the servers connected to Adthink-Mx./api/users
User commandes (create, delete, login account ...)/api/token
Get token/get-domains/
Obtain the list of domains for a hostname./get-values/
Obtain the 3 MX values for a domain, for a hostname./del-domain/
Delete a domain (and all the MX values) for a hostname./add-domain/
Add a domain (and the 3 MX values)./update-domain/
Update the MX value for a domain.