Re-instated reject mail logger

This commit is contained in:
myve 2025-03-05 03:33:23 +00:00
commit 0e3e68dace
3 changed files with 17 additions and 3 deletions

View file

@ -35,7 +35,7 @@ addmx=(${MYVEMAIL_DOMAIN})
addmx+=(${MYVEMAIL_ADDMX//,/ })
echo -n | tee /etc/postfix/{helo_access,{whitelisted,blacklisted}_{domains,emails}} >/dev/null
echo "/\.outbound\.protection\.outlook\.com$/ OK Outlook services" >/etc/postfix/helo_access
# echo "/\.outbound\.protection\.outlook\.com$/ OK Outlook services" >/etc/postfix/helo_access
for domain in ${addmx[@]}
do
@ -106,4 +106,4 @@ postmap /etc/postfix/helo_access \
/etc/postfix/smtp_header_checks /etc/postfix/header_checks \
/etc/postfix/body_checks \
/etc/postfix/postscreen_access.cidr \
/etc/postfix/{whitelisted,blacklisted}_{domains,emails}
/etc/postfix/{whitelisted,blacklisted}_{domains,emails}