diff options
| author | Aurélien Bompard | 2015-09-11 14:07:23 +0200 |
|---|---|---|
| committer | Barry Warsaw | 2015-10-20 21:10:34 -0400 |
| commit | 741fdc63a4415cad6226e886b761eb87c3be8256 (patch) | |
| tree | 61209a5a869a1348f68a68baa24d03ed6e566027 /src/mailman/interfaces/mailinglist.py | |
| parent | ece5509965f64fe988a1eacc0a68cab9d50e2724 (diff) | |
| download | mailman-741fdc63a4415cad6226e886b761eb87c3be8256.tar.gz mailman-741fdc63a4415cad6226e886b761eb87c3be8256.tar.zst mailman-741fdc63a4415cad6226e886b761eb87c3be8256.zip | |
Diffstat (limited to 'src/mailman/interfaces/mailinglist.py')
| -rw-r--r-- | src/mailman/interfaces/mailinglist.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/mailman/interfaces/mailinglist.py b/src/mailman/interfaces/mailinglist.py index f112b2a11..c69d04771 100644 --- a/src/mailman/interfaces/mailinglist.py +++ b/src/mailman/interfaces/mailinglist.py @@ -839,3 +839,23 @@ class IListArchiverSet(Interface): :return: the matching `IListArchiver` or None if the named archiver does not exist. """ + + + +class IHeaderMatches(Interface): + """Registration record for a single bounce event.""" + + mailing_list = Attribute( + """The mailing list for the header match.""") + + header = Attribute( + """The email header that will be checked.""") + + pattern = Attribute( + """The regular expression to match.""") + + chain = Attribute( + """The chain to jump to on a match. + + If it is None, the configuration file action for spam is used. + """) |
