Hi, all. I have upgraded spamproxyd for use with newer versions of the SpamAssassin modules and its accompanying modules which will be released with SpamAssassin 2.1.
However, if you don't want to wait until 2.1 and/or would like to preview it, I have released it as a stand-alone package. It still needs Mail::SpamAssassin, Mail::SMTP::Server, and their dependent packages. You can pick up a copy at ftp://ftp.esper.net/ianj/perl/spamproxy/spamproxy.tar.gz This version sports preforking support a la Apache, based on code written by Bennett Todd in his smtpproxy package (http://bent.latency.net/smtpprox/). This corrects two major deficiencies I saw in the original version of the code: 1. The old version could only handle one message at a time. This version allows you to have a pool of preforked child processes much like Apache, allowing for a number of concurrent (which the user can specify on startup) messages to be processed. 2. After a while, the old code could consume a considerable amount of memory, depending on the size of the largest message passed through the proxy. This code uses an algorithm where given low- and high-water mark numbers (which the user can specify on the command line when the proxy is first started) and a random number to generate a value between these two limits, the child process is discarded after that limit has been reached. It would be nice to be able to also determine the child's current memory consumption so the child process could be reaped sooner if it processes a particularly large message.. This version also allows the user to specify which IP and port to listen on, and which IP and port to connect back into the system to reinject any messages back into the mail system. In fact, these parameters are now required for the proxy to start, along with (for now) an address to send all marked-as-spam messages for examination. As always, I'm open to suggestions for improvements and feature suggestions. Please feel free to e-mail me here or my other e-mail address as documented, [EMAIL PROTECTED] Thanks and happy spam hunting! --Ian. _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk