Upgrade/iRedMail/0.7.0-0.7.1
From iRedMail
(Difference between revisions)
(→MySQL backend special) |
|||
| Line 22: | Line 22: | ||
search_base = o=domains,dc=XXX | search_base = o=domains,dc=XXX | ||
</pre>}} | </pre>}} | ||
| + | |||
| + | * Restart postfix service to make it work. | ||
= MySQL backend special = | = MySQL backend special = | ||
| Line 31: | Line 33: | ||
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) | 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>}} | </pre>}} | ||
| + | |||
| + | * Restart postfix service to make it work. | ||
| + | |||
[[Category: iRedMail]] | [[Category: iRedMail]] | ||
[[Category: Upgrade]] | [[Category: Upgrade]] | ||
Revision as of 10:26, 7 April 2011
Contents |
- 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
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.
