Here's another way to do it by modifying sub-spamassassin.pl

-->Russ Ringer


--- sub-spamassassin.pl Fri Sep  6 08:58:02 2002
+++ sub-spamassassin.pl.patched Tue Sep 17 14:49:22 2002
@@ -48,6 +48,11 @@
     $tag_score .= "SA:1($sa_score/$sa_max):";
     $sa_comment = "Yes, hits=$sa_score required=$sa_max" if ($spamc_options 
=~ /\-c/);
     &debug("SA: yup, this smells like SPAM");
+# quarantine spam based on spamassassin score
+    $quarantine_description="Unsolicited Commercial Email (Spam) REFUSED. Spam 
score=$sa_score Threshold=$sa_max.";
+    ($quarantine_event=$quarantine_description)=~s/\s/_/g;
+    $quarantine_event="SA:".substr($quarantine_event,0,$QE_LEN);
+
   }

   $stop_spamassassin_time=[gettimeofday];



-------------------------------------------------------
This SF.NET email is sponsored by: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to