At 23:53 +0000 22-01-2004, Andrew Cranson wrote:
Anthony Baratta said:
At 03:19 PM 1/22/2004, Andrew Cranson wrote:

As far as I can tell that patch only allows deletion based on a global
rule, I was looking for something that would find the "X-Spam-Status:
 Yes"
header out and delete anything with that header ... that way every user
could set their own deletion level with required_hits in a mysql db. Any
ideas how this could be done?

If you want user specific requirements I think you are better of perusing maildrop (or an equivalent) and running this via the .qmal file.

The problem with that is I'm running qmail-scanner as a mail gateway, trying to filter mail before it reaches the mailserver, to reduce load, and so the mailserver doesn't need reconfiguring. The deletion would need to be done whilst the mails in the queue, via qmail-scanner I think. Any ideas? :)


Hi Andrew


I think it will be possible with a little modification of my patch, the idea is to use sa_delete as a relative value, for example:

sa_delete = required_hits + 2 ($sa_delete=$sa_max + 2;)

But I don't understand one thing. Do you already have a mail-gateway with spamassassin where your users can can set their preferences for Spamassassin?

This modification will need some test and I can't do them. If you are interested I can send you a modified spamassassin routine and you could test it.

Regards

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