Qmail
[Top] [All Lists]

Re: turning off rblsmtpd for domain in smtproutes

To: Mattias Wikstrom <burke@yagrebu.net>, qmail@list.cr.yp.to
Subject: Re: turning off rblsmtpd for domain in smtproutes
From: "Erwin Hoffmann" <feh@fehcom.de>
Date: 20 Dec 2006 10:35:31 -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

sorry for the typos I introduced in my last mail.

On Wed, 20 Dec 2006 08:23:22 +0200, Mattias Wikstrom <burke@yagrebu.net> 
wrote :

> Erwin Hoffmann wrote:
> > =stoneport.math.uic.edu:allow (my sample line !)
> > =.domain1.com:allow
> > =.domain2.com:allow,RBLSMTPD="",RELAYCLIENT="" (sample line)
                               -
> > :allow,RBLSMTPD=""
> 
> An empty $RBLSMTPD variable means that there will be no RBL check and 
> thus no mail will be blocked. Setting tcpservers environment to:
> 
> :allow,RBLSMTPD=""
> 
> would in fact disable all RBL checks for all hosts except those named 
> explicitly. 

No that's wrong. You misunderstand "empty" and "not-set".

In case of RBLSMPTD="" this variable is set; but includes an "empty string" 
(=empty); which is fine for rblsmtpd, thus it will be triggered.

Again, the corrected version:

=stoneport.math.uic.edu:allow (my sample line !)
=.domain1.com:allow
=.domain2.com:allow,RBLSMTPD="",RELAYCLIENT="" (sample line)
:allow,RBLSMTPD=""

Vice versa, if you set RBLSMTPD="You evil spam bot", RBLSMTPD is set *and* 
not empty. This string will be passed eventually to the SMTP client by 
means of rblsmtpd.

Hope that helps.

regards.
--eh.

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