Re: [Exim] problems compiling exim-4.12 on freebsd 4.7 STABL…

Top Pagina
Delete this message
Reply to this message
Auteur: Sheldon Hearn
Datum:  
Aan: exim-users
Onderwerp: Re: [Exim] problems compiling exim-4.12 on freebsd 4.7 STABLE
On (2003/01/17 13:51), Philip Hazel wrote:

> > "failed to open DB file /var/spool/exim/db/retry: Inappropriate file type or
> > format"
>
> This seems to be a problem that is specific to DB 1.85. It is provoked
> by a buglet in Exim 4.12. It is calling the DB's "open" function with
> O_CREAT+O_RDONLY if the database does not exist. The library creates an
> empty file, which then gives the above error on subsequent accesses.
>
> Other versions of DB don't seem to mind this behaviour, which is why the
> bug wasn't noticed before (my standard tests use a later DB library).
>
> The fix is trivial (patch below). There isn't any point in trying to
> create the database for a readonly call.


Thanks, I've incorporated this patch into the FreeBSD port for Exim
(PORTREVISION 1).

FreeBSD folks who use packages instead of building from ports will need
to wait for exim-4.12_1.tgz to appear on package mirrors.

Ciao,
Sheldon.