1

Topic: command line create users

============ Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: debianx64 8.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====
Hi!
I need create users with command line, trying this: http://www.iredmail.com/docs/ldap.bulk. … users.html
But I do not have these scripts (create_mail_user_OpenLDAP.sh, create_mail_user_OpenLDAP.py) in my system. Where I was wrong?

----

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

2

Re: command line create users

In your downloaded iRedMail tarball (iRedMail-0.9.5-1.tar.bz2).
Or, download iRedMail-0.9.6 and extract it, you can find them in 'iRedMail-0.9.6/tools/' directory.

3

Re: command line create users

I am trying to create users with this scripts:

create_mail_user_OpenLDAP.sh, create_mail_user_OpenLDAP.py

and get error: 'ldapadd: command not found'
where I get this tool 'ldapadd'? where I wrong?

4

Re: command line create users

admin@tayra.ru wrote:

- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL

You're running MySQL backend, so you should use this tutorial instead:
http://www.iredmail.org/docs/sql.create.mail.user.html