1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-05 00:27:25 +00:00

Investigating occasional test failures. See this in the log:

[ERROR] Jun 11 17:30:15 lmtp(alice@somedomain.com): Error: open(/etc/dovecot/sieve-spam.svbin.box.abc.com.13806.26a2405f731160b1) failed: Read-only file system
[ERROR] Jun 11 17:30:15 lmtp(alice@somedomain.com): Error: GKVhOyZq4l7uNQAAasegNA: sieve: binary save: failed to create temporary file: open(/etc/dovecot/sieve-spam.svbin.) failed: Read-only file system

systemctl service setting for dovecot includes ProtectSystem=full, so /etc will be read-only.

need to understand why sieve is attempting to create a temp file or maybe
move sieve script to /var
This commit is contained in:
downtownallday 2020-06-11 13:47:50 -04:00
parent 0e857916eb
commit 99bb128d60

View File

@ -33,4 +33,6 @@ script:
# #
# launch automated tests, but skip tests that require remote # launch automated tests, but skip tests that require remote
# smtp support because Travis-CI blocks outgoing port 25 # smtp support because Travis-CI blocks outgoing port 25
- sudo ls -al /etc/dovecot
- sudo touch /etc/dovecot/sieve-spam.svbin
- sudo tests/runner.sh -dumpoutput -no-smtp-remote default remote-nextcloud - sudo tests/runner.sh -dumpoutput -no-smtp-remote default remote-nextcloud