Dear all,

After hours of reading websites and this mailing list, and after many unsuccessful tries, I would be happy if someone could help me.

I want to allow some incoming networks to be allowed to connect to our servers and all the rest to be blocked.

This is the solution that I ended with (but it doesn't work) :

1. I added this in main.cf :
smtpd_client_restrictions = check_client_access cidr:/etc/postfix/access

2. I added this to /etc/postfix/access :
216.82.240.0/20 OK
213.213.213.213 REJECT

3. I did :
postmap access
/etc/init.d/postfix reload

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 ?

Thanks a lot in advance for any help

Denis

Reply via email to