From b4af6df55c90596dd9d65b4aadc6b531b3f54c21 Mon Sep 17 00:00:00 2001 From: missytake Date: Fri, 11 Apr 2025 15:07:38 +0200 Subject: [PATCH] chatmaild: allow echobot to receive unencrypted messages by default --- CHANGELOG.md | 4 ++++ chatmaild/src/chatmaild/user.py | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c4b30fd..cb305f29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,10 @@ - filtermail: allow partial body length in OpenPGP payloads ([#570](https://github.com/chatmail/relay/pull/570)) +- chatmaild: allow echobot to receive unencrypted messages by default + ([#556](https://github.com/chatmail/relay/pull/556)) + + ## 1.6.0 2025-04-11 - Handle Port-25 connect errors more gracefully (common with VPNs) diff --git a/chatmaild/src/chatmaild/user.py b/chatmaild/src/chatmaild/user.py index 3ef4fc81..934eb51e 100644 --- a/chatmaild/src/chatmaild/user.py +++ b/chatmaild/src/chatmaild/user.py @@ -58,7 +58,8 @@ class User: if not self.addr.startswith("echo@"): logging.error(f"could not write password for: {self.addr}") raise - self.enforce_E2EE_path.touch() + if not self.addr.startswith("echo@"): + self.enforce_E2EE_path.touch() def set_last_login_timestamp(self, timestamp): """Track login time with daily granularity