From: Denis BUCHER on
Le 22.07.2010 12:58, Christoph Anton Mitterer a écrit :
> On Thu, 2010-07-22 at 12:54 +0200, Denis BUCHER wrote:
>> 4. But now when I try a "telnet (this machine) 25" from 213.213.213.213
>> I get "Welcome" and I am not rejected ?
>>
>> Could someone tell me what I did wrong ?
> Check http://www.postfix.org/SMTPD_ACCESS_README.html#timing which tells
> you _when_ your ACLs are enforced.

Oh yes........... I was expecting connexion to be immediately closed.

In fact :
By default, this restriction is applied when the client sends the RCPT
TO command. In order to have the restriction take effect as soon as
possible, specify smtpd_delay_reject = no in the Postfix main.cf
configuration file. Doing so may cause unexpected results with poorly
implemented client software.

At least I can confirm that my solution is working for everyone that
needs it :-)

Thank you very much for your reply !

Denis