This is not a request for assistance so much as a request for comments
and sharing incase anyone would benefit.

I'm using qmail-ldap-1.03-20021001 and RBLS to currently reject at the
smtp level.  I'd like to setup a sender whitelist (plus a few rcpts to
always accept) at the smtp level.

I changed control/rbllist to "addheader", created a qmail-qfilter scipt
to search for /^X-RBL/ in the headers and if it's present consult the
whitelist.

The problem I saw with this is that "mail server permanently rejected
message (#5.3.0)" doesn't cut it so I have qmail-qfilter use exitcode 32
and modified qmail.c as follows:

     case 31: return "Dmail server permanently rejected message (#5.3.0)";
+   case 32: return "DBlacklisted.  See: http://www.example.com/rbl.txt (#5.7.1)";
     case 51: return "Zqq out of memory (#4.3.0)";

See any problems with this?  Is there a better way?

If anyone wants the qmail-qfilter let me know.

Kenny Austin
[EMAIL PROTECTED]


Reply via email to