Hi,
On Tue, 19 Dec 2006 12:25:53 +1100, "Dennis Kavadas"
<dennis.kavadas@gmail.com> wrote :
>
> hi all
> any suggestions as to how i might disable rblsmtpd checking for a domain
in
> my /var/qmail/control/smtproutes file ?
> in other words, i don't want to RLB check incomming smtp connection for "
> domain1.com" but still RBL check for "domain2.com" and "domain3.com", all
> of which are listed in my smtproutes
>
I presume you call RBLSMTPD by means of your qmail-smtpd start script and
invoke it will settinig the RBLSMTPD variable from tcpserver's smtpd.tcpd
(or whatever you call it) configurtion file.
Use:
=stoneport.math.uic.edu:allow (my sample line !)
=.domain1.com:allow
=.domain2.com:allow,RBLSMTP="",RELAYCLIENT="" (sample line)
:allow,RBLSMTPD=""
Thats all. However you have to call tcpserver with the appropriate argument
to allow a A lookup for the incoming IP, thus TCPREMOTEHOST is set.
Of course, you have to re-build the cdb afterwards.
Read DJB's web page about tcpserver.
regards.
--eh.
|