
Aug. 14, 2009
12:12 p.m.
Mark Sapiro writes:
Stephen J. Turnbull wrote:
NB. "As he needs them to" means that the *list moderator* be recognized as the *envelope sender*, and the message be approved in that case.
Bottom line, a new feature is needed for his use case.
I don't think so. Moderate.py calls the Message.get_senders() method to get *all* the addresses from the From: header, envelope sender, Reply-To: header and Sender: header. If any of those addresses is a member, the post is from a member.
The point is that the OP's use-case is to make a decision based on envelope sender == moderator, while preserving originator headers. A member check is not what he wants.