Re: [exim] strange dsearch issue

Top Page
Delete this message
Reply to this message
Author: Rafał Kupka
Date:  
To: exim-users
Subject: Re: [exim] strange dsearch issue
On Wed, May 04, 2011 at 06:56:47PM +0100, Dave Howe wrote:
Hi,

> Recently upgraded exim using apt-get, and now suddenly I am getting an
> error where there wasn't one before.


Exim has had some security changes lately. Previous versions probably do
dsearch lookups from uid 0 (just guessing).

> I am using dsearch in the usual vhost thing to distribute mail for
> different domains into different mailboxes, using a subdir
> /etc/exim4/domain-db and one file per domain.
>
> As of the update, I am now getting:
>
> 18:39:56 9117 failed to open /etc/exim4/domain-db for directory search:
> Permission denied (euid=110 egid=117)


> checked that apparmour hasn't reared its ugly head again (it hasn't) and the
> permissions look ok (rw_r__r__ for root:Debian-exim where Debian-exim has


Directory /etc/exim4/domain-db has permissions rw_r__r__?
Try chmod a+x /etc/exim4/domain-db, search operation need +x permission.

> the aforementioned uid and gid numbers). I can su - to Debian-exim and see
> those files/dir just fine.


Weird, could you run 'id' command after su - Debian-exim?

Regards,
Kupson