SpamAssassin, when checking mail, only uses Razor to detect spam, not to report it. If it did, you would run the risk of reporting false positives as spam and polluting the Razor database.
If you want to report spam automatically, you should have your script first check for a minimum score (say 25 - you're unlikely to see a false positive this high), and *then* run razor-report or spamassassin -r. The -r flag strips out any markup SpamAssassin has added before reporting to whichever of the following you have installed: Razor, Pyzor, DCC, and SA's Bayes database.
Of course, it should also be noted that SA did at one point have this feature, and it was removed at the direct request of the razor developers because they explicitly do NOT want people to do auto-reporting using tools like SA under any condition.
This is explicitly spelled out in the razor FAQ.
http://razor.sourceforge.net/docs/faq.php
Q: I have an Header Analysis/Keyword Based/AI/Categorization application that detects spam. Can I automatically report spam detected by my application?
No. Only spam detected by humans should be reported to Razor. Automata, however good it is at detecting spam, isn't human, and should not be allowed to make a report or revoke decision. The only exception to this rule is troll addresses that have been seeded for the purpose of gathering spam.
------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Razor-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/razor-users
