From 7c2bfda12607c2f9364f0a9e6971cc0977393df0 Mon Sep 17 00:00:00 2001 From: Thomas Oettli Date: Mon, 25 Apr 2022 14:21:35 +0200 Subject: [PATCH] fix bug in quarantine whitelist --- pyquarantine/storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyquarantine/storage.py b/pyquarantine/storage.py index 55268e4..a3b45db 100644 --- a/pyquarantine/storage.py +++ b/pyquarantine/storage.py @@ -549,7 +549,7 @@ class Quarantine: if not rcpts: # all recipients whitelisted return - milter.msginfo["rcpts"] = rcpts + milter.msginfo["rcpts"] = rcpts.copy() if self._milter_action in ["REJECT", "DISCARD"]: logger.info(f"quarantine message for {rcpts}")