SpamFoo bug (more of an edge case, when system locale is not English)
Problem reported by David - Today at 12:05 AM
Submitted
SpamFoo daemon fails to start on Windows after enabling SpamFoo.

SmarterMail build: 9673
Server culture/locale: Croatian (Croatia)
Error:
FooQuant precomputed artifact 'fooquant_384_5,0_2500000_42.msgpack' was not found in the assembly-relative Data/ directory.

The error references the expected source asset as:
fooquant_384_5,0_2500000_42.msgpack (note the "," instead of ".")

This appears to be a culture-sensitive decimal formatting issue where AvgBitsPerDim=5.0 is formatted as 5,0 at runtime. If I copy that file and name it with "," then it loads and service starts.
David Replied
Update: this seems to be caused by having just the region set to Croatia, not the locale.
I've just changed the system locale back to "English (US)" but its still searching for a file that has "," in its name.
Gabriele Maoret - SERSIS Replied
Mmmmhhh... This could be my case too... I'm set to Italian...
Gabriele Maoret - Head of SysAdmins and CISO at SERSIS
Currently manages 7 SmarterMail installations (1 in the cloud for SERSIS which provides services to a few hundred third-party email domains + 6 on-premise for customers who prefer to have their mail server in-house)
David Replied
Yes, the SpamFoo service is probably not culture-invariant, that needs to be fixed in code.

You can try making a copy of the file above and rename it to "...5,0..." instead of ..."5.0..." and see if it works then. Or change server culture setting to "English US" (then also copy settings for the default account and new accounts, so the SYSTEM user would also use those settings).

Just temporarily, until an update with a fix becomes available.

Reply to Thread

Enter the verification text