Topic: Fresh iRedmail on Centos - dovecot can't create directories
==== Required information ====
- iRedMail version (check /etc/iredmail-release):
0.9.7 MARIADB edition.
- Linux/BSD distribution name and version:
Centos 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
MariaDB
- Web server (Apache or Nginx):
Apache
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
When trying to log into fresh account I see such entries
[root@mail ~]# cat /var/log/dovecot/imap.log
...
Sep 19 00:20:31 mail dovecot: imap-login: Login: user=<admin@annalubanska.pl>, method=PLAIN, rip=91.121.115.63, lip=176.31.122.21, mpid=5304, TLS, session=<ivSLJn5ZL8xbeXM/>
Sep 19 00:20:31 mail dovecot: imap(admin@annalubanska.pl): Error: User initialization failed: Namespace '': mkdir(/home/vmail/vmail1/annalubanska.pl/a/d/m/admin-2017.09.18.21.36.42//Maildir) failed: Read-only file system
SELinux id disabled
[root@mail ~]# getenforce
Disabled
This FS is all but read only:
root@mail ~]# cat /proc/mounts | grep home
/dev/md2 /home ext4 rw,relatime,data=ordered 0 0
root@mail ~]# touch /home/vmail/vmail1/annalubanska.pl/test
[root@mail ~]# ls -l /home/vmail/vmail1/annalubanska.pl/
total 4
drwx------ 3 vmail vmail 4096 Sep 6 23:24 p
-rw-r--r-- 1 root root 0 Sep 19 00:31 test
[root@mail ~]# rm /home/vmail/vmail1/annalubanska.pl/test
rm: remove regular empty file ‘/home/vmail/vmail1/annalubanska.pl/test’? y
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.