diff options
| author | Barry Warsaw | 2009-03-03 10:15:42 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2009-03-03 10:15:42 -0500 |
| commit | 542a15b5f973565ecca533c9783f44a8bc37a810 (patch) | |
| tree | 904c59465d913a4f80e63cba8f1ec8982509f3ee /src/mailman/interfaces/mailinglist.py | |
| parent | f3ee1ed7d9198d79f7feaf6fb3bb5b6e5ae4bd38 (diff) | |
| download | mailman-542a15b5f973565ecca533c9783f44a8bc37a810.tar.gz mailman-542a15b5f973565ecca533c9783f44a8bc37a810.tar.zst mailman-542a15b5f973565ecca533c9783f44a8bc37a810.zip | |
Diffstat (limited to 'src/mailman/interfaces/mailinglist.py')
| -rw-r--r-- | src/mailman/interfaces/mailinglist.py | 29 |
1 files changed, 22 insertions, 7 deletions
diff --git a/src/mailman/interfaces/mailinglist.py b/src/mailman/interfaces/mailinglist.py index 1c1cbc869..e71a47d61 100644 --- a/src/mailman/interfaces/mailinglist.py +++ b/src/mailman/interfaces/mailinglist.py @@ -66,6 +66,8 @@ class DigestFrequency(Enum): class IMailingList(Interface): """A mailing list.""" + # List identity + list_name = Attribute( """The read-only short name of the mailing list. Note that where a Mailman installation supports multiple domains, this short name may @@ -75,13 +77,6 @@ class IMailingList(Interface): posted to mylist@example.com, then the list_name is 'mylist'. """) - real_name = Attribute( - """The short human-readable descriptive name for the mailing list. By - default, this is the capitalized `list_name`, but it can be changed to - anything. This is used in locations such as the message footers and - Subject prefix. - """) - host_name = Attribute( """The read-only domain name 'hosting' this mailing list. This is always the domain name part of the posting email address, and it may @@ -97,6 +92,26 @@ class IMailingList(Interface): always comprised of the list_name + '@' + host_name. """) + real_name = Attribute( + """The short human-readable descriptive name for the mailing list. By + default, this is the capitalized `list_name`, but it can be changed to + anything. This is used in locations such as the message footers and + Subject prefix. + """) + + list_id = Attribute( + """The RFC 2919 List-ID header value.""") + + include_list_post_header = Attribute( + """Flag specifying whether to include the RFC 2369 List-Post header. + This is usually set to True, except for announce-only lists.""") + + include_rfc2369_headers = Attribute( + """Flag specifying whether to include any RFC 2369 header, including + the RFC 2919 List-ID header.""") + + # Contact addresses + posting_address = Attribute( """The address to which messages are posted for copying to the full list membership, where 'full' of course means those members for which |
