From c0519dd6a8c8a7804c0725aa65a8aa0d3e98deaf Mon Sep 17 00:00:00 2001
From: Daniel Winzen <daniel@danwin1210.de>
Date: Sat, 2 Jul 2022 11:02:44 +0200
Subject: [PATCH] Enable ESMTP when talking to Cisco Firewall with SMTP Fix UP
 enabled, to make use of encryption

---
 etc/postfix/main.cf                | 1 +
 etc_clearnet_proxy/postfix/main.cf | 1 +
 2 files changed, 2 insertions(+)

diff --git a/etc/postfix/main.cf b/etc/postfix/main.cf
index 14d0756..4873b5d 100644
--- a/etc/postfix/main.cf
+++ b/etc/postfix/main.cf
@@ -85,3 +85,4 @@ smtpd_helo_required = yes
 strict_rfc821_envelopes = yes
 default_destination_concurrency_limit = 2
 smtpd_recipient_limit = 10
+smtp_pix_workarounds = delay_dotcrlf
diff --git a/etc_clearnet_proxy/postfix/main.cf b/etc_clearnet_proxy/postfix/main.cf
index e180ce8..576df91 100644
--- a/etc_clearnet_proxy/postfix/main.cf
+++ b/etc_clearnet_proxy/postfix/main.cf
@@ -74,3 +74,4 @@ smtpd_delay_reject = yes
 smtpd_helo_required = yes
 disable_vrfy_command = yes
 smtputf8_autodetect_classes = all
+smtp_pix_workarounds = delay_dotcrlf