https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8044

--- Comment #32 from Henrik Krohns <[email protected]> ---
(In reply to RvdH from comment #31)
> when running spamassassin --lint --debug a folder "C:\.spamassassin" is
> created automatically, eg:
> Sep 14 23:23:52.629 [3804] dbg: config: global_state_dir set to
> \\.spamassassin
> 
> 
> What is this new global_state_dir, and is there a way to control where it is
> created?
> 
> 
> 
> 
> When running spamd.exe i can control global_state_dir location with
> --helper-home-dir parameter, but i can't with spamassassin.exe 
> 
> Thu Sep 15 21:46:49 2022 [-1748] dbg: config: global_state_dir set to
> C:\\ProgramData\\.spamassassin

Yes helper home dir (default = user home) is used first if available.

It seems Util::portable_getpwuid sets "/" as user home on Windows. Not sure if
this is the best practise, but probably better not to mess with it.

Perhaps just fix set_global_state_dir to skip the portable_getpwuid parts and
let global state dir end up as LOCAL_STATE_DIR/userstate_dir.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to