mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-12 10:24:55 +02:00
Dovecot: make home dir distinct from mail dir (#3335)
* add new home dir for Dovecot I tried changing the mail dir, but this is a _very_ disruptive change, so I took approach 3 on <https://doc.dovecot.org/configuration_manual/home_directories_for_virtual_users/>, whereby the home directory is now inside the mail directory. The MDBOX/SDBOX formats are not touched by this change. The change itself could be considered breaking though. * adjust Sieve tests accordingly * Update target/dovecot/10-mail.conf * Update target/dovecot/auth-passwdfile.inc --------- Co-authored-by: Casper <casperklein@users.noreply.github.com>
This commit is contained in:
parent
a72adc2731
commit
7453bc096b
6 changed files with 10 additions and 11 deletions
|
@ -17,9 +17,9 @@ function setup_file() {
|
|||
--env ENABLE_MANAGESIEVE=1
|
||||
# Required for mail delivery via nc:
|
||||
--env PERMIT_DOCKER=container
|
||||
# Mount into mail dir for user1 to treat as a user-sieve:
|
||||
# Mount into home dir for user1 to treat as a user-sieve:
|
||||
# NOTE: Cannot use ':ro', 'start-mailserver.sh' attempts to 'chown -R' /var/mail:
|
||||
--volume "${TEST_TMP_CONFIG}/dovecot.sieve:/var/mail/localhost.localdomain/user1/.dovecot.sieve"
|
||||
--volume "${TEST_TMP_CONFIG}/dovecot.sieve:/var/mail/localhost.localdomain/user1/home/.dovecot.sieve"
|
||||
)
|
||||
_common_container_setup 'CONTAINER_ARGS_ENV_CUSTOM'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue