> What, specifically, is the config you're using to invoke CLAMAVPlugin? > > You need to have at least two things set up in your spamassassin config > files: > 1) load the plugin in a "v*.pre" > 2) invoke the check_clamav() procedure > > EG: > in v320.pre > > # AntiVirus - some simple anti-virus checks, this is not a replacement > # for an anti-virus filter like Clam AntiVirus > # > #loadplugin Mail::SpamAssassin::Plugin::AntiVirus > # > loadplugin ClamAV /usr/local/etc/mail/spamassassin/plugins/clamav.pm > > Note that line depends on the path to where you've installed the plugin > > In a ".cf" rules file (I call mine clamav.cf ): >
As a check, I commented out the loadplugin line for ClamvAV, did systemctl restart spamd.service and systemctl restart clamd.service (which take a good 40 seconds to complete, while spamd restarts almost instantly. using spamassassin -t < testfile.eml, it still reports ClamAV found a virus and names it. (eica) Soooo, I have no idea how the plugin is loading. I have not found any other .pre files loading it. Dunno if this may help - SpamAssassin version 3.4.2 running on Perl version 5.26.1 joea