From: Sandy Drobic (no email)
Date: Fri Feb 10 2006 - 17:15:17 EST
Sandy Drobic wrote:
>> Can you point me to an example of what this might look like? The
>> documentation I was able to find on check_client_access is a little
>> skinny.
>
>
> /etc/postfix/main.cf:
> smtpd_recipient_restriction =
> permit_mynetworks,
> permit_saslauthenticated,
Oops, typo... should have been permit_sasl_authenticated (if you use sasl
to authenticate to your server.
Sandy
> reject_unauth_destination,
> check_client_access hash:/etc/postfix/client_whitelist,
> reject_rbl_client relays.ordb.org,
> reject_rbl_client list.dsbl.org
>
>
> /etc/postfix/client_whitelist:
> 192.168.1.20 OK
> goodclient.stupid.host.com OK
>
> postmap /etc/postfix/client_whitelist
> postfix reload
>
> That's it. Take care NOT to use anything that as a key to whitelist that
> the sending client itself is specifying like sender address, recipient
> address, helo name etc.
>
> Sandy
>
>
|
|
|