https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8050
Bug ID: 8050 Summary: Fix global_state_dir on Windows Product: Spamassassin Version: SVN Trunk (Latest Devel Version) Hardware: All OS: All Status: NEW Severity: normal Priority: P2 Component: Libraries Assignee: dev@spamassassin.apache.org Reporter: apa...@hege.li Target Milestone: Undefined Split from comments in Bug #8044 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. The result of that is global_state_dir can end up as C:\.spamassassin, which is a bit odd location. Perhaps just fix set_global_state_dir to skip the portable_getpwuid parts and let global state dir end up as LOCAL_STATE_DIR or userstate_dir. There's lots of other code out there that relies on $HOME and other vague things, but that's for another issue. Also could look at adding -H dir, --helper-home-dir=dir for spamassassin command, so it can emulate spamd flow better when required. -- You are receiving this mail because: You are the assignee for the bug.