Upgrade/iRedMail/0.7.0-0.7.1

From iRedMail

(Difference between revisions)
Jump to: navigation, search
(MySQL backend special)
Line 24: Line 24:
= MySQL backend special =
= MySQL backend special =
 +
 +
== Alias domain support in postfix relay_domains ==
 +
 +
* Edit '''"/etc/postfix/mysql/relay_domains.cf"''', replace '''"query"''' by below setting:
 +
{{cfg|/etc/postfix/mysql/relay_domains.cf|<pre>
 +
query = (SELECT domain FROM domain WHERE domain='%s' AND backupmx=1 AND active=1) UNION (SELECT alias_domain FROM alias_domain WHERE alias_domain='%s' AND active=1)
 +
</pre>}}
[[Category: iRedMail]]
[[Category: iRedMail]]
[[Category: Upgrade]]
[[Category: Upgrade]]

Revision as of 10:25, 7 April 2011

Contents





TO BE CONTINUED, DO ***NOT*** APPLY BELOW STEPS.



General Update, all backends should apply these changes

OpenLDAP backend special

Support alias domain in mail alias and catch-all account

  • Edit "/etc/postfix/ldap/catchall_maps.cf" and "/etc/postfix/ldap/virtual_alias_maps.cf", remove "domainName=%d" in search_base:
File: /etc/postfix/ldap/catchall_maps.cf, /etc/postfix/ldap/virtual_alias_maps.cf
# OLD SETTING
search_base     = domainName=%d,o=domains,dc=XXX

# NEW SETTING
search_base     = o=domains,dc=XXX

MySQL backend special

Alias domain support in postfix relay_domains

  • Edit "/etc/postfix/mysql/relay_domains.cf", replace "query" by below setting:
File: /etc/postfix/mysql/relay_domains.cf
query = (SELECT domain FROM domain WHERE domain='%s' AND backupmx=1 AND active=1) UNION (SELECT alias_domain FROM alias_domain WHERE alias_domain='%s' AND active=1)
Personal tools