Spamfoo stopped working?
Question asked by Richard Roderick - Today at 9:21 AM
Unanswered
Yesterday my spamfoo stopped detecting all Spam. Is that just me? Some way to figure out why?

Scott Johnson Replied
Based on our install it would have stopped around 8/3 2026-08-03 12:08:32.774 -06:00 [WRN] Client update available: 0.7.121 -> 0.7.127. Seems the people writing the code did not think about requirements, On Linux it will show /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found
Richard Roderick Replied
Ooh, nice find. If this helps I am running on Debian 12:
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm

Richard Roderick Replied
In the SpamFoo error log:

System.DllNotFoundException: Unable to load shared library '/opt/smartermail/SpamFoo/bin/runtimes/linux-x64/native/libfastmime.so' or one of its dependencies. In order to hel
p diagnose loading problems, consider using a tool like strace. If you're using glibc, consider setting the LD_DEBUG environment variable: 
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /opt/smartermail/SpamFoo/bin/runtimes/linux-x64/native/libfastmime.so)

   at System.Runtime.InteropServices.NativeLibrary.Load(String libraryPath)
   at SpamFoo.Core.Email.FastMimeLoader.Resolve(String name, Assembly assembly, Nullable`1 searchPath)
   at System.Runtime.InteropServices.NativeLibrary.LoadLibraryCallbackStub(String libraryName, Assembly assembly, Boolean hasDllImportSearchPathFlags, UInt32 dllImportSearchP
athFlags)
   at SpamFoo.Core.Email.FastMimeNative.fm_options_default()
   at SpamFoo.Core.Email.FastMimeNative.fm_options_default()
   at SpamFoo.Core.Email.EmailMessage.Load(ReadOnlySpan`1 data)
   at SpamFoo_Ninja.Services.ReviewContentExtractor.TryExtract(ReadOnlySpan`1 message, ILogger logger)

Scott Johnson Replied
You are correct it no longer runs.  Very poor dependency management by those writing the code. Hidden updates are a killer.  SmarterTools and SpamFoo need to do better than this.  It took me two days to get them to understand in my ticket.  Code release/versioning not well done.  Way too many regression issues.  Need to go back to the old way we were taught in CS.  Updates/Upgrades never the two shall be mixed.  Updated fixed released versions.  Upgrades changed the version with functional changes and new functions. 
Richard Roderick Replied
Since this isn't a totally critical system for myself, I upgraded to Debian 13 and it works again. Yeah, the hidden update which broke a dependency, not ideal. 

Thanks for the clue Scott!
Scott Johnson Replied
Yep, sadly though SpamFoo claims: 

Supported Operating Systems

PlatformSupported Versions
Windows Server2016 R2, 2019, 2022, 2025+
Windows Desktop10, 11+
Ubuntu22.04+ (LTS version)
Debian11+
RHEL8+
CentOS Stream9+
AlmaLinux8.10+
Rocky Linux8.1+
DockerLinux x64 containers (see Docker Requirements)

Reply to Thread

Enter the verification text