SA Bugzilla – Bug 3256
RFE: spamd --virtual-config-account switch
Last modified: 2018-08-27 21:18:22 UTC
When changing my system to use courier-imap and virtual domains, I encountered a problem with spamd. How could I get spamd to process the new virtual email accounts? I tried --virtual-config-dir but that created problems with existing users. I coded a patch that adds a new config parameter called --virtual-config-account. I now run spamd with these options: -d -c -m5 -x --virtual-config-dir=/home/vmail/%d/%l/.spamassassin --virtual- config-account=vmail When spamc sends a username that is in /etc/passwd, the user is processed as a real account. When spamc sends a virtual username the virtual config directory substitution is made and the user id is changed to the username given with the --virtual-config-account (in my case "vmail"). Find the patch at the URL. Bill Shirley
Created attachment 1883 [details] Patch spamd to accept --virtual-config-account
Has anyone looked at this?
sorry, not yet... The problem is, we have several outstanding patches on this kind of thing, and I'm sure what we need to do is take a step back and figure out how it should be generalized into a more flexible framework. we haven't done that yet, and it doesn't look likely for 3.0.0.
move bug to Future milestone (previously set to Future -- I hope)
Without a CLA, this will language forever. After 13 years, is it even useful?
The *concept* seems useful, even if the specific patch is unusable due to a lack of a CLA. It's not something I'm really in a place to judge, as I don't use that particular model of SA plumbing.