[exim] exim on Debian stretch(file permssions)

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: jpff
Dátum:  
Címzett: exim-users
Tárgy: [exim] exim on Debian stretch(file permssions)
Thank to the advice from this mailing list I was able to complete the build of
exim but I have it a problem in using it. I am trespassing on your time
again I am afraid.

I can tun exim bt and that does what I expect. But when I try to run the
daemon (/usr/sbin/exim -bd -q30m) it does not start and the logs say

Jan 18 12:18:54 itx anacron[408]: 2019-01-18 12:18:54 1gkT6s-0000U6-8R
Cannot open main log file "/var/log/exim4/mainlog": Permission denied: euid=102
egid=104
Jan 18 12:18:54 itx anacron[408]: 2019-01-18 12:18:54 1gkT6s-0000U6-8R
Failed to create spool file /var/spool/exim4//input//1gkT6s-0000U6-8R-D: Permission
denied

I have looked a the permissions on the files and the are he same as on my
old system

drwxr-s---  2 Debian-exim adm  4096 Jan 18 12:31 .
drwxr-xr-x 11 root        root 4096 Jan 18 12:18 ..
-rw-r--r--  1 Debian-exim adm  1643 Jan 17 17:22 mainlog
-rw-r--r--  1 Debian-exim adm  2700 Jan 16 23:37 mainlog.1
-rw-r--r--  1 root        adm     0 Jan 18 12:31 paniclog
-rw-r--r--  1 root        adm     0 Jan 18 12:31 rejectlog


I have no idea where the euid=102 egid=104 comes from as I would have
expected euid to be 120 (\debian-exim). 102 is systemd-resolve whatever
that is.

Never had so much trouble building and running exim -- I must be getting too
old, but please help.

==John ff