On Thu, Nov 19, 2009 at 8:36 AM, Eray Aslan <eray.as...@caf.com.tr> wrote:
> On 19.11.2009 06:02, K bharathan wrote: > > now i understand ; > > in my check_client_access cidr:/etc/postfix/spam_cidr there was a block > > of IPs: > > > > 90.150.32.0/19 <http://90.150.32.0/19> REJECT > > 90.150.64.0/18 <http://90.150.64.0/18> REJECT > > 90.150.128.0/17 <http://90.150.128.0/17> REJECT > > 90.151.0.0/16 <http://90.151.0.0/16> REJECT > > 90.152.0.0/13 <http://90.152.0.0/13> REJECT > > 90.160.0.0/11 <http://90.160.0.0/11> REJECT > > > > which caused this particular client 'access denied' and to give > > exception to this i made an entry in spam_cidr: > > > > 90.182.112.11 ACCEPT > > > > i think this is what it's complaining [warning: unknown smtpd > > restriction: "ACCEPT"] > > now i've commented out all the ips in the above block and removed this > > ACCEPT entry; > > can i give an exception only for this 90.182.112.11 instead of opening > > all the ip blocks!? > > Use OK instead of ACCEPT. This is documented in cidr_table(5) and > access(5) amoung others: > http://www.postfix.org/access.5.html > http://www.postfix.org/cidr_table.5.html > > Postfix has excellent documentation. You might want to have a look: > http://www.postfix.org/documentation.html > > -- > Eray > yes i'm learning thanks