Fixed perl policy and at syntax

This commit is contained in:
Myve 2024-08-14 17:48:59 +00:00
commit afb613e32d
4 changed files with 8 additions and 6 deletions

View file

@ -121,7 +121,7 @@ postconf -e "body_checks = pcre:/etc/postfix/body_checks"
# master.cf
sed -e 's/^smtp .*smtpd$/# &/' \
-e '/#smtp\|#smtpd\|#dnsblog\|#tlsproxy/ s/^#//' -i /etc/postfix/master.cf
tee -a /etc/postfix/master.cf >/dev/null <<- 'master.cf'
tee -a /etc/postfix/master.cf >/dev/null <<- master.cf
# Enable submission
submission inet n - y - - smtpd
@ -136,7 +136,7 @@ submission inet n - y - - smtpd
# SPF Policy
policy unix - n n - 0 spawn
user=nobody argv=/usr/bin/postfix-policyd-spf-perl
user=nobody argv=${MYVEMAIL_POLICYD}
master.cf
# Deleting Email Headers For Outgoing Emails