Re: Upgrade spamassassin from 4.0.1 to 4.0.2 breaks amavis

Xavier Humbert <[email protected]>
Newsgroups gmane.mail.spam.spamassassin.general
Message-ID <[email protected]>
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'?

Xavier

Le 17/10/2025 15:16, [email protected] a écrit :
> On 10/17/25 11:03 AM, Xavier Humbert wrote:
>> Hi
>>
>> I just upgraded from 4.0.1 to 4.0.2 on FreebSD 14.3-STABLE, then 
>> amavis won't start anymore :
>>
>> root@numenor ~]# amavisd
>> fetch_modules: error loading optional module Razor2/Client/Agent.pm:
> if I remember correctly this happens because you are starting amavisd 
> from a directory that the "amavisd" user cannot access,
> if the current directory when the program is started is unreadable by 
> the priv-drop user, it fails
> to find the libraries; starting amavisd from /tmp or, better, using 
> the provided startup script should fix the issue.
>
>  Giovanni

-- 
Xavier HUMBERT<[email protected]>
2 rue des Patureaux
54460 AINGERAY / FRANCE
Tél  +33 6 71 17 29 07
Dom  +33 9 51 00 37 63
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.