cranky wrote:
Is it possible, using Salvator's q-s patch, to configure Q-S to
automatically delete/quarantine email above a users required_hits, rather
than using a global score? e.g. So a user can configure their spamassassin
preferences via mySQL and any mail above their required_hits threshold is
deleted/quarantined.

If possible, it may be better if a second threshold could be set, similar
to required_hits, but something like delete_threshold, so any mail above
required_hits is tagged, and mail above delete_threshold is deleted -
would that be possible at all?


Maybe it is possible, but you will need to work a lot.


1) The required_hits aren't a problem because qmail-scanner read its value each time it invokes spamc

2) The problem is that sa_quarantine/sa_delete must be read from the user preferences. So you have to write them in mySQL and modify the subroutine spamassassin (in qmail-scanner) to read from mySQL this values before invoking spamc.

You can use DBD::mysql to read from mySQL

Forza

Salvatore


------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to