fix body injection and exit if no recipients left

This commit is contained in:
2022-03-14 11:49:32 +01:00
parent 018e87f51f
commit 023a8412e8
2 changed files with 4 additions and 6 deletions

View File

@@ -563,6 +563,7 @@ class Quarantine:
if self._milter_action is not None:
milter.delrcpt(rcpts)
if self._milter_action in ["ACCEPT", "REJECT"] and \
not milter.msginfo["rcpts"]:
#if self._milter_action in ["ACCEPT", "REJECT"] and \
# not milter.msginfo["rcpts"]:
if not milter.msginfo["rcpts"]:
return (self._milter_action, self._reason)