SA Bugzilla – Bug 5689
SpamCheckRateJob plugin for SLAMD load generation system
Last modified: 2019-10-02 11:22:42 UTC
It's a job definition for SLAMD, useful for performance tests of various spamd configurations. The job registers itself within SLAMD (2.0.0-alpha1) and can talk to spamd using its spamc/spamd protocol as described at http://spamassassin.apache.org/full/3.0.x/dist/spamd/PROTOCOL. INSTALL: 1. Install SLAMD server 2. Install and configure SLAMD clients 3. copy sa_slamd.jar to the slamd/webapps/slamd/WEB-INF/lib/ on server and slamd_client/lib 4. start the SLAMD environment 5. Add a new job class in the SLAMD web interface (org.apache.spamassassin.slamd.SpamRateJobClass) HOWTO: 1. start your spamd, remember to use -i and -A for every client that may be connecting to it (including SLAMD server) 2. prepare some test messages; make them available through HTTP of FTP. List the URLS in a seperate file. Eg: messages are stored under http://example.com/msg1, http://example.com/msg2, .., http://example.com/msgN. A list of these is stored at http://example.com/msglist 3. define a new job in SLAMD: - Description, Duration, Number of Clients, Threads per Client - to your liking - Statistics Collection Interval - 2-10 [s] - Spamd host, Spamd port - obvious - Spamd user - user for spamd to process this message under - Email List URL - URL to a text file containing URLs to messages to process (see p. 2) - the rest of the parameters is optional. [4.] Test the parameters 5. Start the job; see your spamd processing lots of messages.
Created attachment 4160 [details] the SLAMD job includes source files
Doesn't look like something that would warrant putting it into contrib. More like something for 3rd party github or spamassassin wiki. Closing.