1
0
mirror of https://github.com/docker-mailserver/docker-mailserver.git synced 2025-08-07 23:03:10 +02: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:
René Plötz
2023-12-10 22:22:31 +01:00
committed by GitHub
parent bc9172fa74
commit 2f5dfed726

View File

@ -79,7 +79,9 @@ EOF
# /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
# mail arriving and delivering it to Dovecot over LMTP.
postconf 'virtual_mailbox_maps = texthash:/etc/postfix/vmailbox'
if [[ ${ACCOUNT_PROVISIONER} == 'FILE' ]]; then
postconf 'virtual_mailbox_maps = texthash:/etc/postfix/vmailbox'
fi
postconf 'virtual_transport = lmtp:unix:/var/run/dovecot/lmtp'
fi