Greetings!
I'm having a bit of trouble trying out Dovecot 2.3 on CentOS 7.
Dovecot 2.2.33 works fine on the same system (same config as well, minus the SSL changes) but after upgrading to 2.3 I'm getting the following errors:
Feb 1 21:30:18 localhost dovecot: imap(reio@bwo.mrstuudio.ee)<3566><FoOsnStkXt4KAAgC>: Debug: INBOX.Templates: Mailbox opened because: STATUS Feb 1 21:30:18 localhost dovecot: Error: imap(reio@bwo.mrstuudio.ee)<3566><FoOsnStkXt4KAAgC>: open() failed with file /home/dovecot/bwo.mrstuudio.ee/reio/Maildir/.Templates/dovecot.index.log: Read-only file system Feb 1 21:30:18 localhost dovecot: imap(reio@bwo.mrstuudio.ee)<3566><FoOsnStkXt4KAAgC>: Error: open(/home/dovecot/bwo.mrstuudio.ee/reio/Maildir/.Templates/dovecot-uidlist.lock) failed: Read-only file system Feb 1 21:30:18 localhost dovecot: Error: imap(reio@bwo.mrstuudio.ee)<3566><FoOsnStkXt4KAAgC>: Mailbox INBOX.Templates: file_dotlock_create(/home/dovecot/bwo.mrstuudio.ee/reio/Maildir/.Templates/dovecot-uidlist) failed: Read-only file system Feb 1 21:30:18 localhost dovecot: Error: imap(reio@bwo.mrstuudio.ee)<3566><FoOsnStkXt4KAAgC>: Mailbox INBOX.Templates: open(/home/dovecot/bwo.mrstuudio.ee/reio/Maildir/.Templates/dovecot-uidlist) failed: Read-only file system
So far I've tried running it with SELinux enforce off and giving the directories 777 permissions to no avail.
Is anyone else running 2.3 on CentOS 7?
Thanks and good luck! Reio
/etc/systemd/system/dovecot.service.d/writable-home.conf [Service]ProtectHome=false
maybe this helps? ---Aki TuomiDovecot oy -------- Original message --------From: Reio Remma <reio@mrstuudio.ee> Date: 01/02/2018 21:44 (GMT+02:00) To: dovecot@dovecot.org Subject: Dovecot 2.3 on CentOS 7. Greetings!
I'm having a bit of trouble trying out Dovecot 2.3 on CentOS 7.
Dovecot 2.2.33 works fine on the same system (same config as well, minus the SSL changes) but after upgrading to 2.3 I'm getting the following errors:
Feb 1 21:30:18 localhost dovecot: imap(reio@bwo.mrstuudio.ee)<3566><FoOsnStkXt4KAAgC>: Debug: INBOX.Templates: Mailbox opened because: STATUS Feb 1 21:30:18 localhost dovecot: Error: imap(reio@bwo.mrstuudio.ee)<3566><FoOsnStkXt4KAAgC>: open() failed with file /home/dovecot/bwo.mrstuudio.ee/reio/Maildir/.Templates/dovecot.index.log: Read-only file system Feb 1 21:30:18 localhost dovecot: imap(reio@bwo.mrstuudio.ee)<3566><FoOsnStkXt4KAAgC>: Error: open(/home/dovecot/bwo.mrstuudio.ee/reio/Maildir/.Templates/dovecot-uidlist.lock) failed: Read-only file system Feb 1 21:30:18 localhost dovecot: Error: imap(reio@bwo.mrstuudio.ee)<3566><FoOsnStkXt4KAAgC>: Mailbox INBOX.Templates: file_dotlock_create(/home/dovecot/bwo.mrstuudio.ee/reio/Maildir/.Templates/dovecot-uidlist) failed: Read-only file system Feb 1 21:30:18 localhost dovecot: Error: imap(reio@bwo.mrstuudio.ee)<3566><FoOsnStkXt4KAAgC>: Mailbox INBOX.Templates: open(/home/dovecot/bwo.mrstuudio.ee/reio/Maildir/.Templates/dovecot-uidlist) failed: Read-only file system
So far I've tried running it with SELinux enforce off and giving the directories 777 permissions to no avail.
Is anyone else running 2.3 on CentOS 7?
Thanks and good luck! Reio
Thanks for the pointer!
That didn't work though, but what worked was:
[Service] ReadWriteDirectories=/home/dovecot
What would be the preferred directory for storing all virtual mail without modification to system files?
Thanks! Reio
On 01.02.2018 21:57, Aki Tuomi wrote:
/etc/systemd/system/dovecot.service.d/writable-home.conf
[Service] ProtectHome=false
maybe this helps?
Aki Tuomi Dovecot oy
-------- Original message -------- From: Reio Remma <reio@mrstuudio.ee> Date: 01/02/2018 21:44 (GMT+02:00) To: dovecot@dovecot.org Subject: Dovecot 2.3 on CentOS 7.
Greetings!
I'm having a bit of trouble trying out Dovecot 2.3 on CentOS 7.
Dovecot 2.2.33 works fine on the same system (same config as well, minus the SSL changes) but after upgrading to 2.3 I'm getting the following errors:
Feb 1 21:30:18 localhost dovecot: imap(reio@bwo.mrstuudio.ee)<3566><FoOsnStkXt4KAAgC>: Debug: INBOX.Templates: Mailbox opened because: STATUS Feb 1 21:30:18 localhost dovecot: Error: imap(reio@bwo.mrstuudio.ee)<3566><FoOsnStkXt4KAAgC>: open() failed with file /home/dovecot/bwo.mrstuudio.ee/reio/Maildir/.Templates/dovecot.index.log: Read-only file system Feb 1 21:30:18 localhost dovecot: imap(reio@bwo.mrstuudio.ee)<3566><FoOsnStkXt4KAAgC>: Error: open(/home/dovecot/bwo.mrstuudio.ee/reio/Maildir/.Templates/dovecot-uidlist.lock)
failed: Read-only file system Feb 1 21:30:18 localhost dovecot: Error: imap(reio@bwo.mrstuudio.ee)<3566><FoOsnStkXt4KAAgC>: Mailbox INBOX.Templates: file_dotlock_create(/home/dovecot/bwo.mrstuudio.ee/reio/Maildir/.Templates/dovecot-uidlist)
failed: Read-only file system Feb 1 21:30:18 localhost dovecot: Error: imap(reio@bwo.mrstuudio.ee)<3566><FoOsnStkXt4KAAgC>: Mailbox INBOX.Templates: open(/home/dovecot/bwo.mrstuudio.ee/reio/Maildir/.Templates/dovecot-uidlist)
failed: Read-only file system
So far I've tried running it with SELinux enforce off and giving the directories 777 permissions to no avail.
Is anyone else running 2.3 on CentOS 7?
Thanks and good luck! Reio
--On Thursday, February 01, 2018 11:58 PM +0200 Reio Remma <reio@mrstuudio.ee> wrote:
What would be the preferred directory for storing all virtual mail without modification to system files?
I would guess something under /var/lib. If you plan to host multiple virtual servers, /srv might be a better place to locate it.
On Fri, February 2, 2018 8:58 am, Reio Remma wrote:
What would be the preferred directory for storing all virtual mail without modification to system files?
on my Centos 7 Dovecit 2.2.32, as well as prior versions, I've always used /var/vmail/vmail1/dom.tld
don't know about 'preferred', but, that works fine for me
-- Voytek
participants (4)
-
Aki Tuomi
-
Kenneth Porter
-
Reio Remma
-
Voytek Eymont