Topic: Bulk create mail users error "no global superior knowledge"
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.4.2
- Deployed with iRedMail Easy or the downloadable installer? Downloadable installer
- Linux/BSD distribution name and version: Ubuntu 20.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP (I have tried the others)
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue. see below
====
I'm tried to add over 200 users with a csv file when I start up an iRedMail server. I have started from a clean ubuntu install 7 times and tried various different settings changes to try and find a work around. I've got all 6 columns in my csv like this:
akcu.org, Vidarr, NotMyPass,Vidarr B, 10000, MidAtlantic:Millenial:EST
Every time I try to add new users with the ldif file from the python script (create_mail_user_OpenLDAP.py) with this code:
sudo ldapadd -x -D cn=Manager,dc=akcu,dc=org -W -f /home/prod/iRedMail-1.4.2/tools/my_users.csv.ldif
I get this error message:
adding new entry "mail=vidarr@akcu.org,ou=Users,domainName=akcu.org,o=domains,dc=example,dc=com"
ldap_add: Server is unwilling to perform (53)
additional info: no global superior knowledge
It always fails on the first line so I'm pretty sure it doesn't have to do with the rest of the file format. The guide (https://docs.iredmail.org/ldap.bulk.cre … users.html) doesn't say what the column names should be so I didn't put any this time -I have tried some in one of the earlier installs - or if that even matters.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.