Qmail
[Top] [All Lists]

Re: turning off rblsmtpd for domain in smtproutes

To: "Dennis Kavadas" <dennis.kavadas@gmail.com>, qmail@list.cr.yp.to
Subject: Re: turning off rblsmtpd for domain in smtproutes
From: "Erwin Hoffmann" <feh@fehcom.de>
Date: 19 Dec 2006 12:06:22 -0000
Delivered-to: sp-com-lists@consult.net
Delivered-to: gmail-qmail@securepoint.com
Delivered-to: sp.com.list@gmail.com
Delivered-to: mailing list qmail@list.cr.yp.to
In-reply-to: <>
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
References: <>
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.




<Prev in Thread] Current Thread [Next in Thread>