mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
fix: Only set virtual_mailbox_maps
to texthash
when using the FILE
account provisioner (#3693)
Signed-off-by: René Plötz <reneploetz@users.noreply.github.com>
This commit is contained in:
parent
bc9172fa74
commit
2f5dfed726
|
@ -79,7 +79,9 @@ EOF
|
||||||
# /etc/postfix/vmailbox is created by: scripts/helpers/accounts.sh:_create_accounts()
|
# /etc/postfix/vmailbox is created by: scripts/helpers/accounts.sh:_create_accounts()
|
||||||
# This file config is for Postfix to verify a mail account exists before accepting
|
# This file config is for Postfix to verify a mail account exists before accepting
|
||||||
# mail arriving and delivering it to Dovecot over LMTP.
|
# mail arriving and delivering it to Dovecot over LMTP.
|
||||||
|
if [[ ${ACCOUNT_PROVISIONER} == 'FILE' ]]; then
|
||||||
postconf 'virtual_mailbox_maps = texthash:/etc/postfix/vmailbox'
|
postconf 'virtual_mailbox_maps = texthash:/etc/postfix/vmailbox'
|
||||||
|
fi
|
||||||
postconf 'virtual_transport = lmtp:unix:/var/run/dovecot/lmtp'
|
postconf 'virtual_transport = lmtp:unix:/var/run/dovecot/lmtp'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue