On Mon, Jan 20, 2003 at 12:09:22AM -0800, David Stults wrote: > This is also something I would find very useful, from an ISP point of > view. We have generic anti-spam features in place, including RBL and > some content-filtering (scoring, like spamassassin does), but as of yet > we have no way to support user-specific whitelists and blacklists. I've > had a number of requests for this from my users, and I've considered > writing a lightweight filter I could use to do LDAP-based lookups, but > it sure seems like it would be even better to make it part of > Qmail-LDAP, which already has to lookup the user record anyway. > > I could write a hack myself for Qmail-LDAP, but somehow I suspect that > the code would be better created by someone who does it professionally. > I'm competent in C, but not much more than that. :-) >
I don't think it is a good idea to add additional handling to qmail-lspawn which does the ldap lookup. qmail-lspawn is one of the only applications in qmail that run as root and therefor I don't think it is a good idea to put more code into it. IMHO it would be the best to create a tool that can be used as programm delivery in qmail-local even if we have to redo a lookup. I also think that mail filtering is not part of the mta (more a mda, mua thing) so filtering is something that should be done in qmail-local. -- :wq Claudio
