At 6:47 +0200 26-04-2009, Phibee Network Operation Center wrote: >Hi > >i am search a small information: > > I use actually a front end qmail server without qmail-scanner >but with rbldnsd direct reject. This server sent after the mail at >a SpamAssassin/Qmail/Qmail6Scanner server for spam detection. > > With this solution, my first qmail close the connection before see >mail from: / rcpt to: (normal ..) > > All of my Qmail6Scanner use the QS st patch (thanks for this patch) > > > I want know if it's possible: > - QMail don't use Rbldns (answer yes, i know the process for this) > - Qmail-scanner scan the email and if the IP of sender are into the > rbl, use the function of St patch "SPAM-DELETE" (only one Rbl scan > no virus or spam scan) > - Write into the mailstat.csv all information > >Thanks for your help >jerome
Hi I don't know why you want to do this, one very good thing of rbl is that it saves bandwidth because it rejects the message before the helo/ehlo command. But anyway, the answer is that you need to patch qmail-scanner-st, it shouldn't be difficult, have a look at the file rbl_scanner in the contrib directory, modify it just to check for '$remote_smtp_ip' (after it has been set) aginst the RBLs of your choice. At the end of the routine call reject_email (if the rbl check ws positive) with the exit_string (useful if you have custom-error-patch) and the proper exit_code. The reject_email (2.06st) routine will log to mailstat.cvs (if log_details is configured). Regards ST ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Qmail-scanner-general mailing list Qmail-scanner-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general