Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
375728e452
|
|||
|
7c2bfda126
|
|||
|
0b6724e656
|
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
set -x
|
||||||
PYTHON=$(which python)
|
PYTHON=$(which python)
|
||||||
|
|
||||||
script_dir=$(dirname "$(readlink -f -- "$BASH_SOURCE")")
|
script_dir=$(dirname "$(readlink -f -- "$BASH_SOURCE")")
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ __all__ = [
|
|||||||
"whitelist",
|
"whitelist",
|
||||||
"QuarantineMilter"]
|
"QuarantineMilter"]
|
||||||
|
|
||||||
__version__ = "2.0.1"
|
__version__ = "2.0.3"
|
||||||
|
|
||||||
from pyquarantine import _runtime_patches
|
from pyquarantine import _runtime_patches
|
||||||
|
|
||||||
|
|||||||
@@ -549,7 +549,7 @@ class Quarantine:
|
|||||||
if not rcpts:
|
if not rcpts:
|
||||||
# all recipients whitelisted
|
# all recipients whitelisted
|
||||||
return
|
return
|
||||||
milter.msginfo["rcpts"] = rcpts
|
milter.msginfo["rcpts"] = rcpts.copy()
|
||||||
|
|
||||||
if self._milter_action in ["REJECT", "DISCARD"]:
|
if self._milter_action in ["REJECT", "DISCARD"]:
|
||||||
logger.info(f"quarantine message for {rcpts}")
|
logger.info(f"quarantine message for {rcpts}")
|
||||||
|
|||||||
Reference in New Issue
Block a user