Continual amavisd restarts

Marius Gologan marius.gologan at
Mon Aug 10 08:28:52 CEST 2015


I had a similar issue. I don't know if mine and yours are the same.
I solved mine by disabling the use of BerkeleyDB with this setting:

$enable_db = 0; 

I didn't noticed any degradation in performances.
Spamassassin become a child process. If is any error in spamassassin, amavis won't start which I find useful since I often override rules in SA.

I hope this will solve your issue.


-----Original Message-----
From: amavis-users [ at] On Behalf Of Stephen Davies
Sent: Monday, August 10, 2015 8:58 AM
To: amavis-users at
Subject: Continual amavisd restarts

I posted this question before but didn't get any helpful responses.

My /var/log/maillog is full of messages of the form:

starting. /usr/sbin/amavisd at amavisd-new-2.9.1 (20140627), Unicode aware, LANG="en_AU.UTF-8"

followed by all of the module etc messages and ending with:

Creating db in /var/amavis/db/; BerkeleyDB 0.54, libdb 5.3

It looks as if this happens every time an email is received or sent - every minute or so.

Apart from filling the log, this startup sometimes takes so long that the sending of an email fails because there is nothing listening for the sendmail milter request (though a resend always works).

I am not aware of any configuration setting that makes amavisd restart but suspect that it might be the systemctl service.

Can anybody please throw some light on this.

Cheers and thanks,

More information about the amavis-users mailing list