Mail 4.4.4 (Cloudron 10.1.5): "Read-only file system" error for the spam-move sieve binary on every delivery
-
Mail 4.4.4 (Cloudron 10.1.5): "Read-only file system" error for the spam-move sieve binary on every delivery
Since the update to Cloudron 10.1.5 (mail 4.4.4, Dovecot 2.4.2), every incoming mail logs this in the mail service log (about two lines per delivery):
lmtp(user@example.com): Error: sieve: binary /app/code/dovecot-config/sieve_before/spam-move.svbin: save: failed to create temporary file: open(/app/code/dovecot-config/sieve_before/spam-move.svbin.<random>) failed: Read-only file systemFiltering still works: Dovecot compiles
spam-move.sievein memory each time, and mails withX-Spam-Flag: YESstill go to Spam. So it is only log noise, plus a recompilation on every delivery.As far as I can tell,
/app/code/dovecot-config/sieve_before/only shipsspam-move.sieve(no precompiled.svbin), and/app/codeis read-only. Dovecot therefore tries to save the compiled binary next to the script and fails. Fromdovecot.conf.template:sieve_script before { type = before path = /app/code/dovecot-config/sieve_before }Possible fixes: precompile the script when building the image (
sievec /app/code/dovecot-config/sieve_before/spam-move.sieve, with the same Dovecot 2.4), or store the compiled binary in a writable directory such as/run/dovecot/sieve-bin(sieve_script_bin_pathin Pigeonhole 2.4). -
-
G girish has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login