Sebastian Reitenbach wrote:
> Hi all,
> I tried to reject mail from unknown local recipients, but without luck
> local_recipient_maps = ldap:/etc/postfix/ldap_senders.cf
> smtpd_recipient_restrictions =
> this is my /etc/postfix/ldap_senders.cf
> server_host = localhost
> search_base = ou=people,dc=intern
> query_filter = (|(suseMailAcceptAddress=%u)(mail=%u))
> dn: uid=sre,ou=people,dc=intern
> suseMailAcceptAddress: myname@...
> suseMailAcceptAddress: myname@intern
> mail: myname@...
> when I now try to send a mail from asdf@... to
> myname@..., then the mail is rejected, because unknown sender,
> when I send the mail to myname@intern, the mail is accepted and gets
> any hint on whats wrong?
if you're trying from mynetworks or using sasl, then that's permitted by
your conf. You may want