mirror of
https://git.myvelabs.com/docker/myvemail.git
synced 2025-12-17 21:46:17 +00:00
Update build/run/docker-entrypoint/init.d/30-postfix.sh
This commit is contained in:
parent
cfe2138b16
commit
37b981d34b
1 changed files with 2 additions and 2 deletions
|
|
@ -33,7 +33,7 @@ fi
|
|||
# Whitelist Primary and Backup mail servers
|
||||
addmx=(${MYVEMAIL_DOMAIN})
|
||||
addmx+=(${MYVEMAIL_ADDMX//,/ })
|
||||
echo -n | tee /etc/postfix/{helo_access,{whitelist,blacklist}_{domains,emails}} >/dev/null
|
||||
echo -n | tee /etc/postfix/{helo_access,{whitelisted,blacklisted}_{domains,emails}} >/dev/null
|
||||
for domain in ${addmx[@]}
|
||||
do
|
||||
echo "${domain} OK Primary and backup mail servers" | tee -a /etc/postfix/helo_access >/dev/null
|
||||
|
|
@ -98,7 +98,7 @@ postmap /etc/postfix/helo_access \
|
|||
/etc/postfix/smtp_header_checks /etc/postfix/header_checks \
|
||||
/etc/postfix/body_checks \
|
||||
/etc/postfix/postscreen_access.cidr
|
||||
for map in /etc/postfix/{whitelist,blacklist}_{domains,emails}
|
||||
for map in /etc/postfix/{whitelisted,blacklisted}_{domains,emails}
|
||||
do
|
||||
if [ -s ${map} ]
|
||||
then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue