From e489a1ea298579ab136d2faa82b479f08fa02bfd Mon Sep 17 00:00:00 2001 From: holger krekel Date: Mon, 24 Aug 2026 18:07:33 +0200 Subject: [PATCH] ci: try to fix lack of RFC822 item support in madmail and make CI pass some local debugging revealed madmail v2 does not support fetching RFC822 items (gives an empty body) so try BODY.PEEK[] instead. --- cmdeploy/src/cmdeploy/tests/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmdeploy/src/cmdeploy/tests/plugin.py b/cmdeploy/src/cmdeploy/tests/plugin.py index 99c6c0de..09b13043 100644 --- a/cmdeploy/src/cmdeploy/tests/plugin.py +++ b/cmdeploy/src/cmdeploy/tests/plugin.py @@ -211,7 +211,7 @@ class ImapConn: status, res = self.conn.select() if int(res[0]) == 0: raise ValueError("no messages in imap folder") - status, results = self.conn.fetch("1:*", "(RFC822)") + status, results = self.conn.fetch("1:*", "(BODY.PEEK[])") assert status == "OK" return results