postfix: document ldap map purposes
This commit is contained in:
@@ -219,6 +219,7 @@ let
|
|||||||
bind_dn = ${cfg.ldap.bind.dn}
|
bind_dn = ${cfg.ldap.bind.dn}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# Enforce a mapping between SMTP user and envelope sender address
|
||||||
ldapSenderLoginMap = pkgs.writeText "ldap-sender-login-map.cf" ''
|
ldapSenderLoginMap = pkgs.writeText "ldap-sender-login-map.cf" ''
|
||||||
${commonLdapConfig}
|
${commonLdapConfig}
|
||||||
query_filter = ${cfg.ldap.postfix.filter}
|
query_filter = ${cfg.ldap.postfix.filter}
|
||||||
@@ -233,6 +234,7 @@ let
|
|||||||
destination = ldapSenderLoginMapFile;
|
destination = ldapSenderLoginMapFile;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Check whether a recipient address exists, before accepting mail for it
|
||||||
ldapVirtualMailboxMap = pkgs.writeText "ldap-virtual-mailbox-map.cf" ''
|
ldapVirtualMailboxMap = pkgs.writeText "ldap-virtual-mailbox-map.cf" ''
|
||||||
${commonLdapConfig}
|
${commonLdapConfig}
|
||||||
query_filter = ${cfg.ldap.postfix.filter}
|
query_filter = ${cfg.ldap.postfix.filter}
|
||||||
|
|||||||
Reference in New Issue
Block a user