Background: SpamAssassin version 3.2.5 running on Perl version 5.8.8 on CentOS release 5.2 (Final) -- all set up for me by my sysadmin. Everything works fine when using all the defaults. However . . .
I want to use spamassassin's per-user whitelisting as part of some mail processing I'm doing. I'm dealing with a lot of messages (potentially over 100,000), but doing it one-at-a-time (and I can't easily change that). spamassassin takes a long time to load and run (1.5 - 2 seconds per message), and it's performing over 50 tests per message even though for this purpose I need only 1 or 2 of those tests. Can I arrange to load/run only the tests I need? If so, how? I've read what I believe are the relevant docs but I can't find what would let me do this. I can't (and don't want to) modify the system set-up, but I can create private, custom versions/copies of config files, rules, rules directories, whatever; I'm even willing to accept that I may have to manually apply updates to these private files when the system updates spamassassin. However, I can't figure out what in these private config files would be used to say "here's my (pared-down) directory of rules" or "run only these tests" or however this problem can be solved. Can someone please help? Thanks, Adam