Linux
1
Вклад в тег
mx.test.ru local_only
vasya@mx.test.ru permit
gnom@mx.test.ru permit
pasta@mx.test.ru permit
mx.test.ru local_only
smtpd_recipient_restrictions = check_sender_access ldap:/etc/postfix/restricted_senders.cf,
check_sender_access texthash:/etc/postfix/restricted_senders,
...,
...
smtpd_restriction_classes = local_only
local_only = check_recipient_access texthash:/etc/postfix/local_domains, reject
server_host = 192.168.111.2
server_port = 389
version = 3
bind = yes
start_tls = no
bind_dn = user@test.ru
bind_pw = 123qwe
search_base = ou=Struktura,dc=developer,dc=com
scope = sub
query_filter = (&(mail=%s)(objectClass=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
result_attribute= postalCode
debuglevel = 0