Thomas wrote:
smtpd_client_restrictions = reject_invalid_hostname check_client_access hash:/etc/postfix/client_access

/etc/postfix/client_access:
<mail-address> REJECT

But if i try to send a mail to an address listed in client_access, it get happily queued and delivered :-(

I suspect that i used the wrong restriction, the wrong hash/... thing or whatever ...

Could you give a hint in the right direction?
Hi Thomas,

From the documentation:
check_client_access type:table
Search the specified access database for the client hostname, parent domains, client IP address, or networks obtained by stripping least significant octets. See the access(5) manual page for details.

You'd want your client_access file to list hostnames and IPs to permit/reject, email addresses won't be queried for.


Reply via email to