OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: wrong ip blocking?
From: Ralf Hildebrandt (news-list.postfix.usersinnominate.de)
Date: Tue Jul 04 2000 - 07:38:30 CDT


On 4 Jul 2000 14:18:58 +0200, Mipam <mipamibb.net> wrote:
>Hi,
>
>I am trying to block certain ip's this way:
>
>in main.cf:
>smtpd_recipient_restrcitions = hash:/etc/postfix/client_access, bla bla bla

You're simply not listening what I'm telling you

smtpd_recipient_restrcitions = check_client_access hash:/etc/postfix/client_access, bla bla bla
                               ^^^^^^^^^^^^^^^^^^^
                               you're missing that!
                               how should postfix
                               know WHAT THE MAP IS
                               FOR ??
                               
>Now in client_access i got
>ip.to.block.now 550 "Get lost!"
>Then i did postmap hash:/etc/postfix/client_access
>postfix reload
>
>However, when i tested it, the ip from the machine connected
>was the one i put in client_access, but nothing was rejected at all.
>What am i doing wrong here?
>Oh yes, i upgraded today to pl08. So it's a bit up to date.
>Bye,
>
>Mipam.
>

-- 
Ralf.Hildebrandtinnominate.de
                                                          innominate AG
                                                      networking people
fon: +49.30.308806-44 fax: -77  web: http://innominate.de  pgp: /pgp/rh