hello all, you will find the patch on http://knecht.techdivision.com/qmail-ldap/
to use it you have to define the path to qmail-scanner-queue in qmail-scanner.h. then you can add addresses or domains you like to scan to "control/scanneraddrs" like "[EMAIL PROTECTED]" or "@domain.com" for the whole domain. (multiline) qmail-smtp will look in "control/scanneraddrs" for the email recipient and will add the "QMAILQUEUE=/path/to/qmail-scanner" variable if the address is listed in the controlfile. please correct any errors, its the first release, but it works for me... BuZ On Fri, 2002-09-06 at 17:13, Andrea Rota (Xelera - Soluzioni GNU/Linux) wrote: > On Fri, 2002-09-06 at 14:07, Bastian Winkler wrote: > [...] > > i wrote a small patch for qmail-ldap to allow setting QMAILQUEUE to > > /var/qmail/bin/qmail-scanner-queue just for domains and addresses listed > > in "control/scanneraddrs". it makes it possible to use qmail-scanner > > only for some domains and customers who wants to pay for that service > > ;-) > > i can post it if you are interested. > It would be really great, thank you. Please put the code fragment under > GPL license: without an explicit license nobody would be allowed to use > it, strictly speaking... > And BTW, the GPL is a great license too... ;-) > > Regards, > > __ > Andrea Rota > Xelera - Soluzioni GNU/Linux > http://www.xelera.it > .:. .:. .:. > "Omnis enim res, quae dando non deficit, dum habetur et non datur, > nondum habetur, quomodo habenda est."
