[exim] Re: Problem with exim_tidydb after upgrading to 4.96

Top Page
Delete this message
Reply to this message
Author: Andrew C Aitchison
Date:  
To: Mike Clarke
CC: exim-users
Subject: [exim] Re: Problem with exim_tidydb after upgrading to 4.96
On Fri, 8 Sep 2023, Mike Clarke via Exim-users wrote:

> I've just upgraded from 4.95 to 4.96 and have started to have problems with exim_tidydb
>
> curlew:/tmp# exim_tidydb /var/spool/exim wait-remote_auth_smtp
> Tidying Exim hints database /var/spool/exim/db/wait-remote_auth_smtp
> ** Failed to open DBM file /var/spool/exim/db/wait-remote_auth_smtp for writing:
> No such file or directorycurlew:/tmp# exim_tidydb /var/spool/exim wait-remote_smtp
> Tidying Exim hints database /var/spool/exim/db/wait-remote_smtp
> ** Failed to open DBM file /var/spool/exim/db/wait-remote_smtp for writing:
> No such file or directory
> But both these files exist
>
> curlew:/tmp# ls -l /var/spool/exim/db
> total 5
> -rw-r-----  1 mailnull  mail       0 14 Oct  2022 retry.lockfile
> -rw-r-----  1 mailnull  mail  131072  4 Sep 11:21 wait-remote_auth_smtp
> -rw-r-----  1 mailnull  mail       0 22 Aug  2020 wait-remote_auth_smtp.lockfile
> -rw-r-----  1 mailnull  mail  131072  4 Sep 08:41 wait-remote_smtp
> -rw-r-----  1 mailnull  mail       0 19 Jun  2021 wait-remote_smtp.lockfile

>
> curlew:/tmp# exim --version
> Exim version 4.96 #1 (FreeBSD 13.2) built 29-Aug-2023 15:38:40
> Copyright (c) University of Cambridge, 1995 - 2018
> (c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007 - 2022
> Probably Berkeley DB version 1.8x (compatibility mode)
> Support for: crypteq iconv() IPv6 use_setclassresources PAM Perl Expand_dlfunc OpenSSL
> TLS_resume Content_Scan
> ning DKIM DNSSEC Event I18N OCSP PIPECONNECT PRDR Queue_Ramp SPF
> TCP_Fast_Open
> Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmjz dbmnz dnsdb
> dsearch passwd
> Authenticators: cram_md5 dovecot plaintext spa
> Routers: accept dnslookup ipliteral manualroute queryprogram redirect
> Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
> Malware: f-protd f-prot6d drweb fsecure sophie clamd avast sock cmdline
> Fixed never_users: 0
> Configure owner: 0:0
> Size of off_t: 8
> Configuration file is /usr/local/etc/exim/configure


Configure owner is 0:0 - is /var/spool/exim/db mounted rootsquash ?
(It should not be.)

Does /usr/local/etc/exim/configure set exim_user to mailnull ?

Check permissions on parents of /var/spool/exim/db too.

... but why any of these would have changed between 4.95 and 4.96,
I cannot guess.

-- 
Andrew C. Aitchison                      Kendal, UK
                    andrew@???


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/