Upgrade/iRedMail/0.7.0-0.7.1

From iRedMail

(Difference between revisions)
Jump to: navigation, search
Line 4: Line 4:
* Please report bugs in our forum: http://www.iredmail.org/forum/
* Please report bugs in our forum: http://www.iredmail.org/forum/
----
----
-
 
-
-----
 
-
'''TO BE CONTINUED, DO ***NOT*** APPLY BELOW STEPS'''.
 
-
-----
 
= General Update, all backends should apply these changes =
= General Update, all backends should apply these changes =
 +
* [[Addition/Harden.iRedMail.with.Fail2ban |Harden iRedMail with Fail2ban]]
= OpenLDAP backend special =
= OpenLDAP backend special =
Line 35: Line 32:
* Restart postfix service to make it work.
* Restart postfix service to make it work.
 +
 +
= ChangeLog =
 +
* 2011-05-01 Initial version.
[[Category: iRedMail]]
[[Category: iRedMail]]
[[Category: Upgrade]]
[[Category: Upgrade]]

Revision as of 04:49, 1 May 2011

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