> Why don't you just run 3 instances of spamd, each listening on different > ports/sockets and each with their own configuration: > > spamd --siteconfigpath=/etc/spam1 --socketpath=/tmp/spam1.sock --port=783 > spamd --siteconfigpath=/etc/spam2 --socketpath=/tmp/spam2.sock --port=784 > spamd --siteconfigpath=/etc/spam3 --socketpath=/tmp/spam3.sock --port=785 > > This way you can enable/disable different plugins for each config as > well as having totally different configurations in each instance. > Afterwards it's just a matter of calling the right instance from your > MDA by choosing the proper socket or tcp-port. > > Since you use MySql for Bayes, you can configure each instance with the > same configuracion so that they all access the same database. And > because its just for testing, don't forget to add "--min-children=1 > --max-children=1" so that each instance only runs one scanner instance, > thus conserving RAM.
Jorge, This is all just a thought, based upon me try to create a development environment on a laptop, which spawned off possible configuration changes to a production environment. We currently have 6+ server running these. 3 sets of load balanced SA servers. These servers are roughly 70% idle most of the time. Running them with user preferences, instead of different instances, would allow us to remove 50% of the hardware. Running them as multiple instances on the same box, means we will still need to balance across the same number of servers. I think the virtual user angle "might" work, I just was thinking of a way to use a single consolidated mysql instance, where it doesn't care about user_name. If I can't elegantly resolve this, I could always just patch the source to use a hard coded user name in the sql statement to ensure that bayes stays consistent. Bayes is the only real concern here, as I know I can run multiple copies (and had forgot that I could run a single copy with user_prefs). So I think this will work either way. I just needed to put a little thought into it and bounce off of people who might have already done something like this. Gary Smith