diff options
| author | Barry Warsaw | 2011-05-25 21:30:56 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2011-05-25 21:30:56 -0400 |
| commit | 0795e34d56a8f627348730843210cdba4071b26b (patch) | |
| tree | e0eb6db1731e849d07c96c9deb00094f2b90f437 /src/mailman/interfaces/bounce.py | |
| parent | 9887ba03016bbbd3a52d4a7df4f07906e984f431 (diff) | |
| download | mailman-0795e34d56a8f627348730843210cdba4071b26b.tar.gz mailman-0795e34d56a8f627348730843210cdba4071b26b.tar.zst mailman-0795e34d56a8f627348730843210cdba4071b26b.zip | |
Diffstat (limited to 'src/mailman/interfaces/bounce.py')
| -rw-r--r-- | src/mailman/interfaces/bounce.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mailman/interfaces/bounce.py b/src/mailman/interfaces/bounce.py index 0b301aa98..99f6b50b7 100644 --- a/src/mailman/interfaces/bounce.py +++ b/src/mailman/interfaces/bounce.py @@ -26,6 +26,7 @@ __all__ = [ 'IBounceEvent', 'IBounceProcessor', 'Stop', + 'UnrecognizedBounceDisposition', ] @@ -55,6 +56,17 @@ class BounceContext(Enum): +class UnrecognizedBounceDisposition(Enum): + # Just throw the message away. + discard = 0 + # Forward the message to the list administrators, which includes both the + # owners and the moderators. + administrators = 1 + # Forward the message to the site owner. + site_owner = 2 + + + class IBounceDetector(Interface): """Detect a bounce in an email message.""" |
