On 3/20/19 7:50 AM, Henrik Rasmussen wrote:
I assume this is by design, but is it correct that a list owner, who are not member, will always be allowed to post to the list, even though "Default action to take when a member posts to the list" and "Default action to take when a non-member posts to thelist" are both set to "Hold for moderation"? The owner is set as also moderator, by the way, which seems redundant.
I have tried this in multiple ways:
list with no members and owner X, post from X list with member Y and owner X, post from X list with member Y and owner X, moderator X, post from X
In all three cases the post was held with reason "The message is not from a list member" and the expected notices were sent to the owner and poster.
Note that the test for membership includes lots of addresses. The first group are the addresses in places defined by the config sender_headers in the [mailman] section which defaults to
The From: header The envelope sender The Reply-To: header The Sender: header
Then, for each address found, if the address is a member or if the address has a user record and any of the users addresses is a member, the post is considered to be from a member.
However, this is apparently not relevant because both the Member and Non-Member actions are Hold. Thus, the post should be held unless it has an Approved: header with the list's moderator_password attribute if there is one, or it matches a Header filter rule with an accept action.
What are the headers X-Mailman-Rule-Misses: and X-Mailman-Rule-Hits: in the message from the list?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan