Bug 38697

Summary: failed to open configuration file /etc/exim/exim.conf: Permission denied
Product: Sisyphus Reporter: Alexander Makeenkov <amakeenk>
Component: eximAssignee: Gremlin from Kremlin <gremlin>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: gremlin, zerg
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Alexander Makeenkov 2020-07-10 12:12:26 MSK
При запуске exim возникает ошибка:

 6765 Exim has no root privilege: uid=8 gid=12 euid=8 egid=12
 6765 changed uid/gid: forcing real = effective
 6765   uid=8 gid=12 pid=6765
 6765   auxiliary group list: 12
 6765 LOG: MAIN PANIC DIE
 6765   failed to open configuration file /etc/exim/exim.conf: Permission denied (euid=8 egid=12)
 6765 search_tidyup called
 6765 >>>>>>>>>>>>>>>> Exim pid=6765 (queue-runner) terminating with rc=1 >>>>>>>>>>>>>>>>

# l /etc/exim/exim.conf
-rw------- 1 root root 68840 июл 10 12:05 /etc/exim/exim.conf

Из-за этого не отправляются письма.

# chmod 644 /etc/exim/exim.conf решает проблему.

Версия exim-4.94-alt1
Comment 1 Gremlin from Kremlin 2020-07-10 13:15:30 MSK
4.94-alt2

А для отправки писем (локально) лучше использовать msmtp, которому в качестве смартхоста указать сабж на ::1