At 15:38 +0530 16-06-2004, Devendra Singh wrote:At 03/06/04 22:21 (), Salvatore Toribio wrote:<http://xoomer.virgilio.it/j.toribio/qmail-scanner/>
q-s-1.22st-20040602
scanners_per_domain, this options allows to define a per user/domain
scanners_array, see the file scanners_per_domain.txt for details.
The match is done for the return-path first and for "each" recipient.
I will write some documentation as soon as possible...
Now, I have deployed the "scanners-per-domain" to a production level Server. But, notice that the Server Load has substantially increased.
In my case only 10% of the domains require scanning. So the default scanners array is not okay for me.
my @scanners_default=("clamscan_scanner","spamassassin","perlscan_scanner");
I have modified it as :
my @scanners_default=("");
Will it work? Also, I have put only those domains into the "scanners_per_domain.txt".
What it would do for the domains which are not listed into the "scanners_per_domain.txt". I have noticed that mails for these domains are also getting "dscr-hdrs-text". Is it meaning that the qmail-scanner-queue.pl has to process all the mails.
Hi
I think that you have do the right thing, I have not documented this feature but this is the way, if you give an empty scanners_default array, mails for doamins not listed in scanners_per_domain.txt pass through all the qmail-scanner subroutines except the scanners routines.
Maybe I could optimize a bit that routine, but I don't think I could do it before the end of the month. Anyway, once qmail-scanner gets a mail form qmail-smtpd it has to run some routines, and the "working_copy" routine is slow.
Cheers
Salvatore
Dear Salvatore,
I have reverted back to my old config of v1.16 with per-domain + quarantine patches.
I would again wait for your modified version.
Can you do something that immediately exits control from qmail-scanner in case of no matches which should be default (in my opinion).
Thanks.
Devendra Singh
______________________________________________________
Devendra Singh
IndiaMART InterMESH Limited
(Global Gateway to Indian Market Place)
B-1, Sector 8, Noida, UP - 201301, India
EPABX : +91-120-2424945, +91-120-3094634, +91-9810646342
Fax: +91-120-2424943
http://www.indiamart.com
http://www.indiangiftsportal.com
http://www.indiantravelportal.com
______________________________________________________
------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general