mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-02 17:14:31 +02:00
scripts: housekeeping & cleanup setup (2/2) (#3123)
This commit is contained in:
parent
9ead9a54ac
commit
dfc2b39308
8 changed files with 152 additions and 160 deletions
|
@ -62,13 +62,16 @@ function _setup_postfix_vhost
|
|||
|
||||
function _setup_postfix_inet_protocols
|
||||
{
|
||||
[[ ${POSTFIX_INET_PROTOCOLS} == 'all' ]] && return 0
|
||||
|
||||
_log 'trace' 'Setting up POSTFIX_INET_PROTOCOLS option'
|
||||
postconf "inet_protocols = ${POSTFIX_INET_PROTOCOLS}"
|
||||
}
|
||||
|
||||
|
||||
function _setup_postfix_virtual_transport
|
||||
{
|
||||
[[ -z ${POSTFIX_DAGENT} ]] && return 0
|
||||
|
||||
_log 'trace' "Changing Postfix virtual transport to '${POSTFIX_DAGENT}'"
|
||||
# Default value in main.cf should be 'lmtp:unix:/var/run/dovecot/lmtp'
|
||||
postconf "virtual_transport = ${POSTFIX_DAGENT}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue