On Tuesday, December 19 at 12:25 PM, quoth Dennis Kavadas:
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
Well, think about this analytically for a moment: rblsmtpd is a
program that does it's magic BEFORE any information is communicated.
It examines the contents of the environment (i.e. the IP address of
the remote end of the connection) and based on that limited either
runs qmail-smtpd or does not. Once qmail-smtpd runs, then the SMTP
conversation begins, and qmail-smtpd learns things like who the
message is destined for. By that time, however, rblsmtpd is no longer
involved.
So the short answer is: no, rblsmtpd does not, and cannot, do what you
suggest.
However, it's entirely possible that you could write a patch to
qmail-smtpd such that once it knows what addresses the incoming
message is destined for it can do any sort of arbitrary filtering.
One way you might do it that would be a little less work would be to
use the RCPTCHECK patch by Jay Soffian
(http://www.soffian.org/downloads/qmail/qmail-smtpd-doc.html). In the
script that you would write to validate the recipient, you can do
something like an rblsmtpd check, and based on that you can reject the
connection.
~Kyle
--
I beseech you, in the bowels of Christ, think it possible you may be
mistaken.
-- Oliver Cromwell
pgpSC9S1Zd370.pgp
Description: PGP signature
|