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: furio ercolessi (furiospin.it)
Date: Tue Jul 04 2000 - 07:45:28 CDT


On Tue, Jul 04, 2000 at 02:17:37PM +0200, Mipam 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
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  smtpd_recipient_restrictions !

furio ercolessi
Spin

> 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.
>
>