1

Topic: Modify Relay/Transport setting for all "existing" domains

======== Required information ====
- iRedMail version: 0.8.6
- iRedAdmin-Pro version: 2.0
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Ubuntu Server 12.04
====

We are managing about 50 domains.
As I can see, the default Relay/Transport setting is "dovecot".
I want to change this value to something else for "all existing domains".

Could any one please show me how to do it? Is there any script to finish this task?
Thank you.

----

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

2

Re: Modify Relay/Transport setting for all "existing" domains

No existing script for this, sorry.

You can write one to update value of LDAP attribute 'mtaTransport' in domain object. Also, if you want to your custom relay/transport setting for newly created mail domains, please update value of parameter 'default_mta_transport =' in iRedAdmin-Pro-LDAP config file (settings.py).

If you're running old version of iRedAdmin-Pro-LDAP, please update 'mtaTransport' in iRedAdmin-Pro-LDAP config file 'settings.ini' instead. And it's recommended to upgrade to the latest iRedAdmin-Pro-LDAP as soon as possible.

3

Re: Modify Relay/Transport setting for all "existing" domains

Thank you, your answer is very helpful.