1

Topic: Modify default "enabledService" for LDAP mail account

==== Required information ====
- iRedMail version: 0.8.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Ubuntu Server 12.04
- Related log if you're reporting an issue:
====
When creating a new mail account, I can see that it has several "default" enabledService in LDAP:
mail, deliver, lda, smtp, smtpsecured, pop3, pop3secured, imap, imapsecured ...

I want to add value to this default list, for example: "lmtp". So every time, when I create a new mail account, this account will have lmtp service enabled by default.
Could anyone please show me how to do it, is this feature supported by iRedAdmin-Pro ?

----

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

2

Re: Modify default "enabledService" for LDAP mail account

Depends on how you create mail accounts:

1: If you create mail user with script shipped in iRedMail (iRedMail/tools/create_mail_user_*), you can modify it to add addition values for 'enabledService' directly.
2: With iRedAdmin, you can add it in file 'libs/ldaplib/iredldif.py', in function 'ldif_mailuser()'.

3

Re: Modify default "enabledService" for LDAP mail account

Wonderful !!!
Thank you very much, you've just saved my day !