From 8698e1a0b32d463fea1a515aa69e81844b198271 Mon Sep 17 00:00:00 2001 From: akanealw Date: Thu, 7 May 2026 00:49:49 +0000 Subject: [PATCH] updated postfix config --- debian/debian-essentials.sh | 2 +- proxmox/proxmox-pbs-essentials.sh | 2 +- proxmox/proxmox-pve-essentials.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/debian-essentials.sh b/debian/debian-essentials.sh index 6cef6f4..9613d7f 100755 --- a/debian/debian-essentials.sh +++ b/debian/debian-essentials.sh @@ -257,7 +257,7 @@ if [ $isInFile -eq 0 ] echo "" >> /etc/postfix/main.cf echo "# google mail configuration" >> /etc/postfix/main.cf echo "relayhost = smtp.gmail.com:587" >> /etc/postfix/main.cf - echo "smtp_use_tls = yes" >> /etc/postfix/main.cf + echo "smtp_tls_security_level = may" >> /etc/postfix/main.cf echo "smtp_sasl_auth_enable = yes" >> /etc/postfix/main.cf echo "smtp_sasl_security_options =" >> /etc/postfix/main.cf echo "smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd" >> /etc/postfix/main.cf diff --git a/proxmox/proxmox-pbs-essentials.sh b/proxmox/proxmox-pbs-essentials.sh index 12cbff4..686bf3a 100755 --- a/proxmox/proxmox-pbs-essentials.sh +++ b/proxmox/proxmox-pbs-essentials.sh @@ -97,7 +97,7 @@ if [ $isInFile -eq 0 ] echo "" >> /etc/postfix/main.cf echo "# google mail configuration" >> /etc/postfix/main.cf echo "relayhost = smtp.gmail.com:587" >> /etc/postfix/main.cf - echo "smtp_use_tls = yes" >> /etc/postfix/main.cf + echo "smtp_tls_security_level = may" >> /etc/postfix/main.cf echo "smtp_sasl_auth_enable = yes" >> /etc/postfix/main.cf echo "smtp_sasl_security_options =" >> /etc/postfix/main.cf echo "smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd" >> /etc/postfix/main.cf diff --git a/proxmox/proxmox-pve-essentials.sh b/proxmox/proxmox-pve-essentials.sh index c24094f..38823d6 100755 --- a/proxmox/proxmox-pve-essentials.sh +++ b/proxmox/proxmox-pve-essentials.sh @@ -127,7 +127,7 @@ if [ $isInFile -eq 0 ] echo "" >> /etc/postfix/main.cf echo "# google mail configuration" >> /etc/postfix/main.cf echo "relayhost = smtp.gmail.com:587" >> /etc/postfix/main.cf - echo "smtp_use_tls = yes" >> /etc/postfix/main.cf + echo "smtp_tls_security_level = may" >> /etc/postfix/main.cf echo "smtp_sasl_auth_enable = yes" >> /etc/postfix/main.cf echo "smtp_sasl_security_options =" >> /etc/postfix/main.cf echo "smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd" >> /etc/postfix/main.cf