Hello,

 

I have installed a RBL program in my postfix server. This  RBL program
responds IP queries like that:

 

dig @localhost -p 53 213.176.163.216.std.rbl.servidor.midominio

 

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.10.rc1.el6 <<>> @localhost -p 53
213.176.163.216.std.rbl. servidor.midominio

; (1 server found)

;; global options: +cmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37917

;; flags: qr rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; WARNING: recursion requested but not available

 

;; QUESTION SECTION:

;213.176.163.216.std.rbl. servidor.midominio. IN A

 

;; ANSWER SECTION:

213.176.163.216.std.rbl. servidor.midominio. 0 IN A 127.0.0.2

 

;; Query time: 79 msec

;; SERVER: 127.0.0.1#53(127.0.0.1)

;; WHEN: Mon Oct 15 14:30:44 2012

;; MSG SIZE  rcvd: 81

 

My server have two external DNS servers configured, so the Postfix
program makes all queries to these two servers.

 

I want to configure the Posftix server to check client IPs in my RBL
program, so I've put this line in main.cf:

 

smtpd_client_restrictions = reject_rbl_client
black.rbl.servidor.midominio, permit

 

 

But obviously the Postfix program makes all its queries to the external
DNS servers, so my RBL program isn't used from the Postfix. I would like
the Postfix program to use the external DNS servers for all the queries
except for the RBL queries. Is it posible to configure that? 

 

Another posibility is to configure the external DNSs to delegate the
RBLs queries to the RBLS program, but I would like to configure a direct
communication between the Postfix program and the RBL program to have a
better performance.

 

Thanks!

Reply via email to