Upgrade/iRedMail/0.7.0-0.7.1

From iRedMail

Revision as of 04:49, 1 May 2011 by ZhangHuangbin (Talk | contribs)
Jump to: navigation, search

Contents





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
  • Restart postfix service to make it work.

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)
  • Restart postfix service to make it work.

ChangeLog

  • 2011-05-01 Initial version.
Personal tools