Bug 38697 - failed to open configuration file /etc/exim/exim.conf: Permission denied
Summary: failed to open configuration file /etc/exim/exim.conf: Permission denied
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: exim (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Gremlin from Kremlin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-10 12:12 MSK by Alexander Makeenkov
Modified: 2020-07-10 13:15 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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