1

Topic: iRedMail-4.9 create user POST request Error 500

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version: 1.4.2 MARIADB edition
- Deployed with iRedMail Easy or the downloadable installer? Download Installer
- Linux/BSD distribution name and version: Oracle Linux Server release 7.9
- Store mail accounts in which backend: MySQL
- Web server: Nginx
- Manage mail accounts with iRedAdmin-Pro? YES
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Good day.
I Updated iREDAdmin to version 4.9
Integration with an external host to create a user from our personnel accounting system has broken down
nginx logs
on version 4.8
172.18.112.15 - - [15 / Sep / 2021: 12: 05: 20 +0300] "POST / iredadmin / api / login HTTP / 1.1" 200 29 "-" "curl / 7.55.1"
172.18.112.15 - - [15 / Sep / 2021: 12: 05: 25 +0300] "POST /iredadmin/api/user/Dub@sbl.ru HTTP / 1.1" 200 29 "-" "curl / 7.55.1"

and now 4.9
172.16.84.48 - - [15 / Sep / 2021: 09: 30: 30 +0300] "POST / iredadmin / api / login HTTP / 1.1" 200 49 "-" "1C + Enterprise / 8.3"
172.16.84.48 - - [15 / Sep / 2021: 09: 30: 30 +0300] "POST /iredadmin/api/user/Mal@sbl.ru HTTP / 1.1" 500 32 "-" "1C + Enterprise / 8.3"
172.16.84.48 - - [15 / Sep / 2021: 09: 30: 34 +0300] "POST / iredadmin / api / login HTTP / 1.1" 200 49 "-" "1C + Enterprise / 8.3"
172.16.84.48 - - [15 / Sep / 2021: 09: 30: 34 +0300] "POST /iredadmin/api/user/Mor@sbl.ru HTTP / 1.1" 500 32 "-" "1C + Enterprise / 8.3"
172.16.84.48 - - [15 / Sep / 2021: 09: 30: 47 +0300] "POST / iredadmin / api / login HTTP / 1.1" 200 49 "-" "1C + Enterprise / 8.3"
172.16.84.48 - - [15 / Sep / 2021: 09: 30: 47 +0300] "POST /iredadmin/api/user/Rab@sbl.ru HTTP / 1.1" 500 32 "-" "1C + Enterprise / 8.3"

The important delete function works on two versions.
172.16.84.48 - - [15 / Sep / 2021: 23: 00: 03 +0300] "POST / iredadmin / api / login HTTP / 1.1" 200 49 "-" "1C + Enterprise / 8.3"
172.16.84.48 - - [15 / Sep / 2021: 23: 00: 03 +0300] "DELETE /iredadmin/api/user/Kas@sbl.ru/keep_mailbox_days/30 HTTP / 1.1" 200 93 "-" "1C + Enterprise / 8.3 "
172.16.84.48 - - [15 / Sep / 2021: 23: 00: 05 +0300] "POST / iredadmin / api / login HTTP / 1.1" 200 49 "-" "1C + Enterprise / 8.3"
172.16.84.48 - - [15 / Sep / 2021: 23: 00: 05 +0300] "DELETE /iredadmin/api/user/Koc@sbl.ru/keep_mailbox_days/30 HTTP / 1.1" 200 93 "-" "1C + Enterprise / 8.3 "


Here is our call code from the management accounting program.

<https_server> /iredadmin/api/user/Eli@sbl.ru

   
--9da8229573b34555a5163090e9043dee
Content-Disposition: form-data; name = "password"
pass @ word
--9da8229573b34555a5163090e9043dee
Content-Disposition: form-data; name = "name"
Eli
--9da8229573b34555a5163090e9043dee
Content-Disposition: form-data; name = "domain"
sbl.ru
--9da8229573b34555a5163090e9043dee
Content-Disposition: form-data; name = "quota"
512
--9da8229573b34555a5163090e9043dee
Content-Disposition: form-data; name = "cookie.txt"; filename = "C: \ Users \ idm-ad-usr \ AppData \ Local \ Temp \ cookie.txt"; name = "cookie.txt"; filename = "C: \ Users \ idm-ad-usr \ AppData \ Local \ Temp \ cookie.txt"
Content-Type: text / plain
--9da8229573b34555a5163090e9043dee--

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: iRedMail-4.9 create user POST request Error 500

Thank You for FIX. Work NOW.