Upgrade/iRedMail/0.8.0-0.8.1

From iRedMail

(Difference between revisions)
Jump to: navigation, search
(Created page with '__TOC__ '''THIS IS STILL A DRAFT, DO NOT APPLY BELOW STEPS.''' = OpenLDAP backend special = == Deliver emails to mail list members without enabledService=smtp == With default P…')
(→Deliver emails to mail list members without enabledService=smtp)
Line 5: Line 5:
= OpenLDAP backend special =
= OpenLDAP backend special =
== Deliver emails to mail list members without enabledService=smtp ==
== Deliver emails to mail list members without enabledService=smtp ==
-
With default Postfix settings in iRedMail-0.7.4 and earlier versions, if a mail user is disabled to use SMTP service to send out email, he/she cannot receive emails which delivered to the mail lists which he/she is belong to. Below steps fix this issue.
+
With default Postfix settings in iRedMail-0.7.4 and earlier versions, if a mail user is not allowed to use SMTP service to send out email (without '''enabledService=smtp'''), he/she cannot receive emails which delivered to the mail lists which he/she is belong to. Below steps fix this issue.
* Edit Postfix config file, '''main.cf''', update '''virtual_alias_maps''' to replace '''sender_login_maps.cf''' by '''virtual_group_members_maps.cf''':
* Edit Postfix config file, '''main.cf''', update '''virtual_alias_maps''' to replace '''sender_login_maps.cf''' by '''virtual_group_members_maps.cf''':

Revision as of 14:53, 15 May 2012

Contents


THIS IS STILL A DRAFT, DO NOT APPLY BELOW STEPS.

OpenLDAP backend special

Deliver emails to mail list members without enabledService=smtp

With default Postfix settings in iRedMail-0.7.4 and earlier versions, if a mail user is not allowed to use SMTP service to send out email (without enabledService=smtp), he/she cannot receive emails which delivered to the mail lists which he/she is belong to. Below steps fix this issue.

  • Edit Postfix config file, main.cf, update virtual_alias_maps to replace sender_login_maps.cf by virtual_group_members_maps.cf:
    • On Linux and OpenBSD, it's /etc/postfix/main.cf.
    • On FreeBSD, it's /usr/local/etc/postfix/main.cf. And you should use /usr/local/etc/postfix/ldap/virtual_group_members_maps.cf in Postfix setting described below.
File: main.cf
# OLD SETTING
#virtual_alias_maps = ..., proxy:ldap:/etc/postfix/ldap/sender_login_maps.cf, ...

# NEW SETTING
virtual_alias_maps = ..., proxy:ldap:/etc/postfix/ldap/virtual_group_members_maps.cf, ...
  • Create new file virtual_group_members_maps.cf:
    • Copy sender_login_maps.cf to virtual_group_members_maps.cf.
    • Edit virtual_group_members_maps.cf, remove (enabledService=smtp) and save it.
  • Restarting Postfix service is required.
Personal tools