All over sudden dovecot thinks FS is read only

Andraž 'ruskie' Levstik ruskie at codemages.net
Sat Oct 28 13:03:09 EEST 2017


:2017-10-28T11:51:Tobi:

> Oct 28 11:39:50 mbox1 dovecot: lmtp(tobster at brain-force.ch): Error:
> ssY/MGZQ9FnoLgAAC4IaJw:2: sieve: failed to open logfile (LOGGING TO
> STDERR): open(/home/vmail/brain-force.ch/tobster/.dovecot.sieve.log)
> failed: Read-only file system
> 
> But a test at cli shows that I can write to the location
> 
> $ echo "test" >/home/vmail/brain-force.ch/tobster/.dovecot.test
> $ cat /home/vmail/brain-force.ch/tobster/.dovecot.test
> test
> $ echo "test1" >/home/vmail/brain-force.ch/tobster/.dovecot.test
> $ cat /home/vmail/brain-force.ch/tobster/.dovecot.test
> test1
> 
> Mounts show that the FS should be rw
> /dev/vda2 / ext4 rw,relatime,data=ordered 0 0

Check filesystem permissions on the location. The user dovecot is
running under needs to be able to write there. Otherwise check dmesg as
well for any "remount" messages.

-- 
Andraž 'ruskie' Levstik
Geek/Hacker/Tinker

What use is magic if it can't save a unicorn?


More information about the dovecot mailing list