1

Topic: Create Single User command

==== Required information ====
- iRedMail version (iredmail-release): v0.9.5-1
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx):Apache
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====

Dear,

i need to create user VIA CLI, can you help please.

thanks

----

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

2

Re: Create Single User command

FYI:
http://www.iredmail.org/docs/sql.create.mail.user.html

3

Re: Create Single User command

thanks for you reply,

please note that i have the following error

ldap_add: Already exists (68)

4

Re: Create Single User command

khalid.hajem wrote:

ldap_add: Already exists (68)

It means the account you're going to add already exists.

5

Re: Create Single User command

ZhangHuangbin wrote:
khalid.hajem wrote:

ldap_add: Already exists (68)

It means the account you're going to add already exists.


thanks, its work fine,  is there any way to add the common name in the command.

thanks for your support

6

Re: Create Single User command

Use the iRedAdmin admin panel. The "Display Name" is common name (CN).