On Fri, Feb 13, 2004 at 01:43:01PM -0800, you [Bart Schaefer] wrote: > On Fri, 13 Feb 2004, Ville Herva wrote: > > > My mistake was that I thought spamd flag "--user-config" means it will > > execute with the config of the user that calls spamc. > > You aren't wrong, exactly -- but the user that spamd runs as (in this > case, "spamc") must have sufficient privileges to setuid() to the user > identity passed by spamc to spamd. > > That usually means you either have to run spamd as root, or use virtual > user configs (--virtual-config-dir).
Yep. I wasn't sure how exactly it works. Of course, it's quite naive to think spamc would send the whole configuration over to spamd, and it naturally is not enough for spamd to be able to read $USER/.spamassassin if it wants to update the bayes db etc. Thanks for clearing this up. -- v -- [EMAIL PROTECTED]
