Re: Upgrade spamassassin from 4.0.1 to 4.0.2 breaks amavis
Bill Cole <[email protected]>
| Newsgroups | gmane.mail.spam.spamassassin.general |
|---|---|
| Message-ID | <[email protected]> |
On 2025-10-17 at 09:36:02 UTC-0400 (Fri, 17 Oct 2025 15:36:02 +0200) Xavier Humbert <[email protected]> is rumored to have said: > Hi Giovanni, > > At first I started it with the startup script of course. Since it > didn't start, I tried manually as root to have the full log > > But wait ! > > I gave a new try, and it resumed working. Strange. > > At firts, it said in maillog : > >> amavis[19395]: (!!)TROUBLE in pre_loop_hook: config: no rules were >> found! Do you need to run 'sa-update'? >> amavis[19395]: (!)_DIE: Suicide () TROUBLE in pre_loop_hook: config: >> no rules were found! Do you need to run 'sa-update'? That is because the SA package does not install any rules in the operative directory, which is versioned. I.e. you may have 'old' rules under /var/db/spamassassin/4.000001/ but SA 4.0.2 wants them in /var/db/spamassassin/4.000002/ As the fatal error says, you fix that by running sa-update, which should be scheduled to run daily from cron. -- Bill Cole