OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: How to allow only certain IP addresses access?

From: Victor Duchovni (Victor.DuchovniMorganStanley.com)
Date: Wed Sep 20 2006 - 14:47:06 CDT


On Wed, Sep 20, 2006 at 02:40:32PM -0500, Noel Jones wrote:

> For postfix you can use:
> # main.cf
> smtpd_client_restrictions =
> permit_mynetworks
> check_client_access cidr:/etc/postfix/allowed_clients
> reject
>
> # /etc/postfix/allowed_clients
> 64.18.0.0/20 OK

It is safer to replace "OK" with "permit_auth_destination".

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomopostfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.