From fb699dd06ad94e9dd4f29bb5ba0965261e65ee3b Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Tue, 9 Mar 1999 19:36:48 +0000 Subject: (Defaults.py.in): Added USE_ENVELOPE_SENDER variable, which is set to 1 by default. This instructs the MailList.Post() method to use first the envelope sender (i.e. Unix "From " line) and then the From: header. However, this breaks member_only_posting on some systems (for reasons unknown). Set this variable to 0 in mm_cfg.py to use only the From: header, although this can open the list up to spam. (MailList.py): in Post(), check USE_ENVELOPE_SENDER to see if GetEnvelopeSender() should be called. (FAQ): Add a question refering to USE_ENVELOPE_SENDER. --- FAQ | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'FAQ') diff --git a/FAQ b/FAQ index a4c82babe..9dd1ec71d 100644 --- a/FAQ +++ b/FAQ @@ -108,6 +108,28 @@ FREQUENTLY ASKED QUESTIONS . run $prefix/bin/arch $prefix/archives/private/.mbox/.mbox +9. I set member_posting_only to yes because I want to limit posts to + members only, however it seems like all messages coming from + members are held for approval. + + There appears to be a problem on some systems where the envelope + sender (e.g. the Unix "From " line) is set incorrectly. This will + cause a negative match when checking to see if the sender is a + member of the list. Mailman defaults to using the envelope sender + before the sender (i.e. "From:" header) because the former is set + by the SMTP agent while the latter is easily spoofable by the end + user. + + However, if you are having this problem, you may opt to favor the + From: header over the envelope sender. Do this by adding the + following line to your mm_cfg.py file: + + USE_ENVELOPE_SENDER=0 + + However, read the comments about this variable in the Defaults.py + file first. + + Local Variables: mode: text -- cgit v1.3.1