Szerző: John McMurray Dátum: Címzett: Jeremy Harris, exim-users Tárgy: Re: [exim] ratelimit database not available
Thanks again for taking a look..
I uninstalled exim (and did a rm -fr /usr/sbin/exim* to make sure all
the bits and pieces are really gone), then did a make / make install and
it seems to work now...
I'll run through the whole server setup again (luckily I've scripted it)
to see if I can reproduce the problem but at this stage I'm guessing it
was just a mix of different exim versioned components...
Thanks,
John
On 17/01/2018 12:57, John McMurray via Exim-users wrote: > Hi Jeremy,
>
> Thanks... I do have compat-db.x86_64 and compat-db47.x86_64 installed
> (not sure if I should have one or the other, but I have both)..
>
>
>
> Exim version 4.90 #58 built 17-Jan-2018 11:38:05
> Copyright (c) University of Cambridge, 1995 - 2017
> (c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file,
> 2007 - 2017
> Berkeley DB: Berkeley DB 4.7.25: (March 22, 2017)
> Support for: crypteq iconv() IPv6 PAM OpenSSL Content_Scanning DKIM
> DNSSEC Event OCSP PRDR Experimental_SPF
> Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm
> dbmjz dbmnz dnsdb dsearch mysql passwd sqlite
> Authenticators: cram_md5 dovecot plaintext spa tls
> Routers: accept dnslookup ipliteral manualroute queryprogram redirect
> Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
> Fixed never_users: 0
> Configure owner: 0:0
> Size of off_t: 8
> 2018-01-17 12:50:57.889 [22519] cwd=/var/spool/exim/db 2 args: exim -bV
> Configuration file is /etc/exim/exim.conf
>
>
>
> Regards,
>
> John McMurray
>
>
> On 17/01/2018 12:38, Jeremy Harris wrote:
>> 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?
>
>
>