-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

James Berwick wrote:
> 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.


And the client in 'check_client_access' is the host postfix is receiving
from; not the one it's sending to...


- --
Glenn English
g...@slsware.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmA+e8ACgkQ04yQfZbbTLbN+gCeKQBe0RBOQc+H9gCFiJGvS9u/
fKsAn1SpeptVaX8ehHh+7vKtOOX5EpmN
=XdKQ
-----END PGP SIGNATURE-----

Reply via email to