mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-10 09:24:50 +02:00
chore: Postfix should integrate Dovecot at runtime (#3681)
* chore: Better establish startup scope * chore: Configure `main.cf` for Dovecot at runtime
This commit is contained in:
parent
1ff8d57ea1
commit
c75975d59e
6 changed files with 40 additions and 14 deletions
|
@ -11,6 +11,9 @@ function _setup_spoof_protection() {
|
|||
postconf 'smtpd_sender_login_maps = ldap:/etc/postfix/ldap-senders.cf'
|
||||
fi
|
||||
else
|
||||
# NOTE: This file is always created at startup, it potentially has content added.
|
||||
# TODO: From section: "SPOOF_PROTECTION=1 handling for smtpd_sender_login_maps"
|
||||
# https://github.com/docker-mailserver/docker-mailserver/issues/2819#issue-1402114383
|
||||
if [[ -f /etc/postfix/regexp ]]; then
|
||||
postconf 'smtpd_sender_login_maps = unionmap:{ texthash:/etc/postfix/virtual, hash:/etc/aliases, pcre:/etc/postfix/maps/sender_login_maps.pcre, pcre:/etc/postfix/regexp }'
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue