Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Offical apps | Community apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. 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

Scheduled Pinned Locked Moved Solved Support
mailspamdovecot
2 Posts 2 Posters 153 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N
    N
    nilp
    wrote on last edited by
    #1

    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 system
    

    Filtering still works: Dovecot compiles spam-move.sieve in memory each time, and mails with X-Spam-Flag: YES still 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 ships spam-move.sieve (no precompiled .svbin), and /app/code is read-only. Dovecot therefore tries to save the compiled binary next to the script and fails. From dovecot.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_path in Pigeonhole 2.4).

    1 Reply Last reply
    3
    • girishG
      girishG
      girish
      Staff
      wrote on last edited by
      #2

      This for reporting, this is fixed now. I have set the sieve_script_bin_path.

      1 Reply Last reply
      1
      • girishG 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
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Bookmarks
      • Search