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.


Get fast and professional support from iRedMail developers:


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.


Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee


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

Thank you, your answer is very helpful.