Re: Getting message "SASL Could not open /etc/sasl2/sasldb2" when trying to create a mailbox

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Am 27.11.2022 um 08:29 schrieb dale@xxxxxxxxxxxxxxxxx:
The status of /home/imap is
[root@localhost etc]# ls -ld /home/imap
drwx------. 2 cyrus mail 6 Nov 24 00:42 /home/imap
[root@localhost etc]# ls -l /home/imap
total 0

/home is from my point of view not the correct location for storing the mailboxes. Anyhow, your decision.

But you are running a distribution with systemd, so pay attention to "ProtectHome" setting of the service in the unit file.

The status of /etc/sasl2
[root@localhost etc]# ls -ld /etc/sasl2/
drwxr-xr-x. 2 root root 42 Nov 22 00:40 /etc/sasl2/
[root@localhost etc]# ls -l /etc/sasl2/
total 20
-rw-------. 1 root root 16384 Nov 19 00:02 sasldb2
-rw-r--r--. 1 root root    25 Aug 10  2021 Sendmail.conf

Your distribution ships with SELinux. Do you run it in enforcing mode as you should? Have you then checked the context of the path and files your processes aren't allowed to access?


Cyrus: SASL
Delivery options:

[Index of Archives]     [Info Cyrus]     [Squirrel Mail]     [Linux Media]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux