1

Topic: Howto add a group/an alias via ldapadd

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

Hallo,

is there a way to add a group or an alias account via ldapadd?

Thanks in advance!

----

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

2

Re: Howto add a group/an alias via ldapadd

check our document, try to create one with phpldapadmin or similar ldap client tool. If you still prefer to add with `ldapadd`, try to create one with phpldapadmin, export the ldif, then you get a sample LDIF which can be used to import with `ldapadd`.

References:
http://www.iredmail.org/docs/ldap.add.mail.alias.html
http://www.iredmail.org/docs/ldap.add.mail.list.html

3

Re: Howto add a group/an alias via ldapadd

Thanks a lot! Exported my alias list of the old LDAP-Server using PhpLDAPadmin and imported it, using the following command

ldapadd -x -D 'cn=Manager,dc=example,dc=com' -W -f /path/to/file.ldif