Topic: Restful API - Create Mail User not working in v2.7.0
==== Required information ====
- iRedMail version (check /etc/iredmail-release): v0.9.5-1
- Linux/BSD distribution name and version: Centos6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes v2.7.0 (LDAP)
- Related log if you're reporting an issue:
====
Create Mail User API call working in previous version, not working in v2.7.0
This is the syntax of the API call:
$exec_cmd = 'curl -X POST -i -b '.$cookie_jar.' -k -d "cn='.$cn.'&password=password&language=en_US"a=32" https://mx1.mydomain.com/iredadmin/api/user/'.$cc.'@archive.mydomain.com';
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.