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 at bwo.mrstuudio.ee)<3566><FoOsnStkXt4KAAgC>: Debug: INBOX.Templates: Mailbox opened because: STATUS Feb? 1 21:30:18 localhost dovecot: Error: imap(reio at 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 at 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 at 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 at 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 at mrstuudio.ee> Date: 01/02/2018 21:44 (GMT+02:00) To: dovecot at 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 at bwo.mrstuudio.ee)<3566><FoOsnStkXt4KAAgC>: Debug: INBOX.Templates: Mailbox opened because: STATUS Feb? 1 21:30:18 localhost dovecot: Error: imap(reio at 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 at 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 at 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 at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20180201/cfbe798e/attachment-0001.html>
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 at mrstuudio.ee> > Date: 01/02/2018 21:44 (GMT+02:00) > To: dovecot at 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 at bwo.mrstuudio.ee)<3566><FoOsnStkXt4KAAgC>: Debug: > INBOX.Templates: Mailbox opened because: STATUS > Feb? 1 21:30:18 localhost dovecot: Error: > imap(reio at 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 at 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 at 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 at 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20180201/6286b6ec/attachment.html>