summaryrefslogtreecommitdiff
path: root/src/mailman/config
diff options
context:
space:
mode:
authorBarry Warsaw2009-02-09 22:19:18 -0500
committerBarry Warsaw2009-02-09 22:19:18 -0500
commit98c52ea14883f0261fd7a2f2fe8db42d96331ddb (patch)
treea0c5817f4c226ed14b3fe510314e825980b6cb4e /src/mailman/config
parent84a81e4a90349f7116863d2f45cda1ee31b5b3b5 (diff)
downloadmailman-98c52ea14883f0261fd7a2f2fe8db42d96331ddb.tar.gz
mailman-98c52ea14883f0261fd7a2f2fe8db42d96331ddb.tar.zst
mailman-98c52ea14883f0261fd7a2f2fe8db42d96331ddb.zip
Move mailman.Message to mailman.email.Message. Rename Message.get_sender() to
Message.sender (property) and Message.get_senders() to Message.senders (another property). The semantics of .sender is slightly different too; it no longer consults config.mailman.use_envelope_sender. Add absolute_import and unicode_literals to Utils.py, and clean up a few imports.
Diffstat (limited to 'src/mailman/config')
-rw-r--r--src/mailman/config/schema.cfg14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/mailman/config/schema.cfg b/src/mailman/config/schema.cfg
index df20a7370..c93d58986 100644
--- a/src/mailman/config/schema.cfg
+++ b/src/mailman/config/schema.cfg
@@ -40,20 +40,6 @@ var_dir: /tmp/mailman
# The default language for this server.
default_language: en
-# When allowing only members to post to a mailing list, how is the sender of
-# the message determined? If this variable is set to Yes, then first the
-# message's envelope sender is used, with a fallback to the sender if there is
-# no envelope sender. Set this variable to No to always use the sender.
-#
-# The envelope sender is set by the SMTP delivery and is thus less easily
-# spoofed than the sender, which is typically just taken from the From: header
-# and thus easily spoofed by the end-user. However, sometimes the envelope
-# sender isn't set correctly and this will manifest itself by postings being
-# held for approval even if they appear to come from a list member. If you
-# are having this problem, set this variable to No, but understand that some
-# spoofed messages may get through.
-use_envelope_sender: no
-
# Membership tests for posting purposes are usually performed by looking at a
# set of headers, passing the test if any of their values match a member of
# the list. Headers are checked in the order given in this variable. The