Ibrahim Harrani wrote:
Hello,
I have several virtual domain on my mail server (qmail+vpopmail)
I am using spamc in .qmail-default file.
I would like to setup different bayes_path for every domain. So, they
can maintain their own bayes db.
Normally, I can run spamc with different user name (-u, --username) to
achive this. But, the username must be created on the unix level?
To avoid creating a system user for every domain, I would like to pass
different bayes_path parameter to spamd for every domain.
Is it possible to do something like that?
You could pass spamd a different site config path, which would
essentially give each domain it's own local.cf, which could, in turn,
call off a different bayes_path among other things.
Note: this is not done with the -C parameter, but the --siteconfigpath
parameter.