Continual amavisd restarts

Stephen Davies sdavies at sdc.com.au
Mon Aug 10 08:57:02 CEST 2015


On 10/08/15 15:58, Marius Gologan wrote:
> Stephen,
>
> 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.
>
> Regards,
> Marius.
>
>
> -----Original Message-----
> From: amavis-users [mailto:amavis-users-bounces+marius.gologan=gmail.com at amavis.org] On Behalf Of Stephen Davies
> Sent: Monday, August 10, 2015 8:58 AM
> To: amavis-users at amavis.org
> 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 mustang.sdc.com.au 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,
> Stephen
>
Thanks Marius. I will try that.
(I use bogofilter rather than SpamAssassin but that shouldn't make any 
difference.)

Cheers,
Stephen



-- 
=============================================================================
Stephen Davies Consulting P/L                             Phone: 08-8177 1595
Adelaide, South Australia.                                Mobile:040 304 0583
Records & Collections Management.


More information about the amavis-users mailing list