Re: [exim] ratelimit database not available

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: Re: [exim] ratelimit database not available
On 17/01/18 10:11, John McMurray via Exim-users wrote:
> I'm setting up a new hosting server on Centos 7. I've installed exim
> 4.90 from source and am now testing it. Mail is not reaching the server
> and the logs complain about the ratelimit database not being available.


>     >>> check ratelimit = ${lookup mysql { SELECT option_value FROM
> email_options WHERE option_name = 'max_per_hour' AND deleted = 0 AND
> extra1 =         '$sender_address_domain' AND deleted = 0  UNION  SELECT
> IFNULL(MIN(option_value), 300) FROM email_options WHERE option_name =
> 'max_per_hour' AND     deleted = 0 AND extra1 IS NULL AND NOT EXISTS
> (SELECT option_value FROM email_options WHERE option_name =
> 'max_per_hour' AND extra1 =                 '$sender_address_domain' AND
> deleted = 0) LIMIT 1; }} / 1h / per_rcpt / $sender_address_domain
>     >>>                 = 300 / 1h / per_rcpt / softsmart.co.za
>     >>> ratelimit condition count=1 300.0/1h/per_rcpt/softsmart.co.za
>     BDB1566 DB_ENV->rep_flush interface requires an environment
> configured for the replication subsystem


That looks horribly like you have an incompatible version of
Berkeley DB. What does "exim -bV" tell you for that?
--
Cheers,
Jeremy