Re: [exim] 4.95 failed to stat log directory /var/spool/exim…

Top Page
Delete this message
Reply to this message
Author: Odhiambo Washington
Date:  
To: Axel Rau
CC: exim users
Subject: Re: [exim] 4.95 failed to stat log directory /var/spool/exim/log:
On Sat, May 21, 2022 at 1:38 PM Axel Rau <Axel.Rau@???> wrote:

>
>
> Am 21.05.2022 um 11:53 schrieb Odhiambo Washington <odhiambo@???>:
>
>
>
> On Sat, May 21, 2022 at 11:26 AM Axel Rau via Exim-users <
> exim-users@???> wrote:
>
>> Hi all,
>>
>> Recently my mailman 3 servers began spamming with tons of such log
>> messages:
>> cannot accept message: failed to stat log directory /var/spool/exim/log:
>> Permission denied
>>
>> root@lists5:/var/spool/exim # ls -ld .
>> drwxrwx--- 5 mailnull mail 5 May 18 05:45 .
>> root@lists5:/var/spool/exim # ls -l
>> total 10
>> drwxr-x--- 2 mailnull mail 8 Jan 18 20:17 db
>> drwxr-x--- 2 mailnull mail 2 May 18 03:01 input
>> drwxr-x--- 2 mailnull mail 2 May 18 03:01 msglog
>>
>> root@lists5:/var/spool/exim # id 26
>> uid=26(mailnull) gid=26(mailnull) groups=26(mailnull)
>>
>> user mailman is in the mail group.
>> Should it be in the mailnull group?
>>
>> What is the correct setup?
>>
>> Any help appreciated,
>> Axel
>> ---
>> PGP-Key: CDE74120 ☀ computing @ chaos claudius
>>
>
> Is your Exim even able to receive emails?
> /var/spool/exim should not contain any 'log' directory.
>
>
> Yes, it forwards any incoming mails to mailman and works as relay for
> outgoing mails.
> I think, the error message means msglog.
>
> Axel
>


Since Mailman3 communicates with Exim via LMTP, there is nowhere in
Mailman3 where a log file specification is given.
I guess the issue is within your Exim configuration and not Mailman3. That
is why I was asking whether your Exim is actually
delivering any e-mails at all.
Perhaps in your Mailman3 config you have told the daemon to use that weird
log path?


--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)