On Sat, Aug 30, 2003 at 04:36:46PM -0400, Dan Melomedman wrote: > I would love to be able to specify a differnt rbbllist for qmail-smtpd > with an environment variable. What do you think? Thanks. > > I have two qmail-smtpds running on one machine, and I want different > rbllist configs for each. Thanks.
While it isn't an environment variable, you can control what servers you use for an RBL in your smptd/run file. Between the end of your tcpserver line and the start of the qmail-smtpd bit put in /usr/local/bin/rblsmtpd -a goodlist.example.com -r badlist.example.com -r rbl.domain.com See http://cr.yp.to/djbdns/rbldns.html for more details. You don't have to have rbldns setup on your machine but you will need the rblsmtpd program. You can have different entries for each of your two smtpds. Chris
