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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Andreas Metzler
Date:  
À: exim-users
Sujet: Re: [exim] 4.95 failed to stat log directory /var/spool/exim/log:
On 2022-05-21 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?


Is mailnull:mail your exim user/group?
exim -bP | grep ^exim_

/var/spool/exim/log does not exist. What are the permissions on
/var/spool/exim itself?

cu Andreas

--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'