Kris <[EMAIL PROTECTED]> wrote:
> I'm bashing my head against a wall trying to figure out how to
> implement this.  I read somewhere that SA can delete mail, but
> nowhere in the documentation does it show how to do so.  I would like
> to make the word list make SA mark it as a high score and then delete
> if the score reaches this high mark (which the only test to make it
> go that high would be the word list based test).

Since you're already running SA, the *easiest* solution I can think of is
this:

Create some SA rule for the list of words. Score it something high like
1000.
In sub spamassassin, add a statement like

! close(SA);
+ if ($sa_score >1000) { $sa_comment='';$quarantine_event="bad word";
return; }
! if ($sa_tests) {

I believe that would treat SA's findings as a virus. Maybe add 'bad word' to
silent_viruses_array so it doesn't get reported, only quarantined.


--
Jay Swackhamer <[EMAIL PROTECTED]>
Nebularis Inc. <http://nebularis.com>
Ottawa, ON  tel: 613-843-9358 fax: 613-825-5960




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to