--On Wednesday, January 21, 2004 5:17 PM -0800 Ian White <[EMAIL PROTECTED]> wrote:

Try the following bit of code in your filter_end before you write the
headers.

                 if (!defined($SASpamTester->{auto_learn_status})) {
                     $learn = "no";
                 } elsif ($SASpamTester->{auto_learn_status}) {
                     $learn = "spam";
                 } else {
                     $learn = "ham";
                 }

And then add that after your $tests you can put in "autolearn=$learn"

Perfect! Thank you!


---
"The avalanche has already begun. It is too late for the pebbles to vote."
-- Kosh


------------------------------------------------------- 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 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to