Am 28.06.2021 um 03:19 schrieb Joe Wong:
Hello,
I am trying to setup a new server on Centos 7 running 2.3.15, I compile
the source with ./configure --with-pam , make then make install. I have
another server using 2.3.8 so I copy my config files from there to
/usr/local/etc/dovecot. I am using systemctl enable dovecot then systemctl
start dovecot , however it failed to start. There is error found in
/var/log/messages:
Jun 28 09:14:37 new-ns1 systemd: Started Dovecot IMAP/POP3 email server.
Jun 28 09:14:37 new-ns1 dovecot: Error:
unlink(/usr/var/run/dovecot/login/login) failed: Read-only file system (in
master-settings.c:739)
Why don't you simply use current dovecot packaged for EL7 as RPM? That
would avoid all the hassle you have.
The path in your filesystem hierarchy looks pretty wrong. It clearly
collides with SELinux defaults.
Just my 2 cent.
Alexander