mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-17 14:37:02 +00:00
Dovecot's `state_dir` usually defaults to be at `/var/lib/dovecot`, or a similar system-wide path. Under some conditions, our test Dovecot instance can fail, because it's wanting to write to state_dir, but it is not writeable by us in the test environment. This was reported by foxcpp in https://github.com/albertito/chasquid/issues/28. This patch fixes the problem by setting a custom state_dir to be within our testing directory. Thanks to foxcpp for reporting this problem and suggesting a fix.