aboutsummaryrefslogtreecommitdiff
path: root/files/usr/local/etc/postfix/virtual_aliases.cf.smtp_server
diff options
context:
space:
mode:
Diffstat (limited to 'files/usr/local/etc/postfix/virtual_aliases.cf.smtp_server')
-rw-r--r--files/usr/local/etc/postfix/virtual_aliases.cf.smtp_server8
1 files changed, 8 insertions, 0 deletions
diff --git a/files/usr/local/etc/postfix/virtual_aliases.cf.smtp_server b/files/usr/local/etc/postfix/virtual_aliases.cf.smtp_server
new file mode 100644
index 0000000..6fa9715
--- /dev/null
+++ b/files/usr/local/etc/postfix/virtual_aliases.cf.smtp_server
@@ -0,0 +1,8 @@
+version = 3
+bind = sasl
+sasl_mechs = gssapi
+server_host = ${ldap_uri}
+search_base = ${accounts_basedn}
+query_filter = (|(mailAddress=%s)(mailAlternateAddress=%s))
+special_result_attribute = member
+leaf_result_attribute = mailAddress