[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cyrus-sasl
Subject:    Re: Getting message "SASL Could not open /etc/sasl2/sasldb2" when trying to create a mailbox
From:       Alexander Dalloz <ad+lists () uni-x ! org>
Date:       2022-11-27 13:35:21
Message-ID: 093e80da-9f29-172f-70eb-823743d22a2b () uni-x ! org
[Download RAW message or body]

Am 27.11.2022 um 08:29 schrieb dale@gsdassociates.com:
> 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?

Alexander


------------------------------------------
Cyrus: SASL
Permalink: https://cyrus.topicbox.com/groups/sasl/Tc234f166b512980e-M7146d4ef894ff43cfc7c9fdf
Delivery options: https://cyrus.topicbox.com/groups/sasl/subscription
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic