1

Topic: Creating object classes

==== Required information ====
- iRedMail version 9.4
- Linux/BSD distribution name and version: Debian
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  LDAP
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? no
- Related log if you're reporting an issue:
====
Hi Zhang,

Does it possible to create new objectclasses with iRedAdmin?

Thanks

----

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

2

Re: Creating object classes

iRedAdmin open source edition doesn't support this. But with upcoming iRedAdmin-Pro release, it's able to assign custom objectclass and attributes to new mail user. below is full comment about this setting in "libs/default_settings.py":

# Additional LDAP objectClass for new mail user.
# Sample value: ['inetOrgPerson', 'pwdPolicy', 'ownCloud']
ADDITIONAL_USER_OBJECTCLASSES = []

# Additional LDAP attribute names and values for new mail user.
#
# Format:
#       [(attribute_name, [...]),
#        (attribute_name, [...])]
#
# Several placeholders are available:
#   - mail
#   - domain
#   - username
#   - cn (name)
#   - plain_password (plain password)
#   - passwd (encrypted password)
#   - quota (mailbox quota)
#   - groups (assigned mailing lists)
#   - storageBaseDirectory
#   - language (default language for web UI)
#   - recipient_bcc
#   - sender_bcc
#
# You can use placeholders like this:
#   [(attribute_name, ['%(mail)s', '%(domain)s' ...])]
ADDITIONAL_USER_ATTRIBUTES = []

is it enough for you?

3

Re: Creating object classes

Hi Zhang,
Thanks for replying, I've managed the way to create objectclass after read the OPENLDAP documents. Keep discovering the open source version.
Have a nice day!