mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-04 00:17:06 +00:00
Fix smart host alias (alias with no forward to's). Postfix recently started rejecting these mails with "Sender address rejected: domain not found". This ensures the special case is handled properly.
This commit is contained in:
parent
00805cb52c
commit
bb543700f5
@ -180,9 +180,9 @@ bind = yes
|
|||||||
bind_dn = ${LDAP_POSTFIX_DN}
|
bind_dn = ${LDAP_POSTFIX_DN}
|
||||||
bind_pw = ${LDAP_POSTFIX_PASSWORD}
|
bind_pw = ${LDAP_POSTFIX_PASSWORD}
|
||||||
version = 3
|
version = 3
|
||||||
search_base = ${LDAP_DOMAINS_BASE}
|
search_base = ${LDAP_BASE}
|
||||||
query_filter = (&(|(dc=%s)(dcIntl=%s))(businessCategory=mail))
|
query_filter = (|(&(objectClass=mailDomain)(|(dc=%s)(dcIntl=%s)))(&(objectClass=mailGroup)(mail=@%s)(&(!(member=*))(!(mailMember=*)))))
|
||||||
result_attribute = dc
|
result_attribute = objectClass
|
||||||
EOF
|
EOF
|
||||||
chgrp postfix /etc/postfix/virtual-mailbox-domains.cf
|
chgrp postfix /etc/postfix/virtual-mailbox-domains.cf
|
||||||
chmod 0640 /etc/postfix/virtual-mailbox-domains.cf
|
chmod 0640 /etc/postfix/virtual-mailbox-domains.cf
|
||||||
|
Loading…
Reference in New Issue
Block a user