Hi all, I'm unsure on how to fix a problem I have with sa-update (SA 3.4.1) on CentOS 6, where /var/lib/spamassassin/3.004001/ doesn't contain rules.
Steps to reproduce: 1. install spamassassin 2. remove connection to the internet (ip ro del default) 3. run sa-update 4. look into /var/lib/spamassassin/3.004001: no rules (only empty dirs) 5. restart spamd or amavisd: failure spamd[10720]: config: no rules were found! Do you need to run 'sa-update'? amavis[3575]: (!!)TROUBLE in pre_loop_hook: config: no rules were found! Do you need to run 'sa-update'? Moreover, the default centos sa-update cron job, checks for a running copy of spamd or amavisd, that are probably not to be found, so the problem will never fix by itself. I think I've tracked the problem to the following commit: https://github.com/apache/spamassassin/commit/2fbb0ec17904ffd9369f53c891e75ad05211bd53 but I'm unsure on hot to fix it. Should I move the mkpath call to where it was before the commit? Thank you. -- Ciao, Filippo
