On 4/28/26 5:17 PM, Craig Leres via Mailman-users wrote:
I want to create a mailing list that is used for announcements only. I'd like attempts to post to be rejected with a notification.
I was able to set the list pw and verify it works with the Approved header using this reference:
https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/rules/ docs/approved.html
I find that if both:
Default action to take when a member posts to the list Default action to take when a non-member posts to the list
are set to "reject (with notification)", the approved header is ignored and messages are always rejected (posted via "mailman inject")
This should not be the case. The message is checked for an Approved: header prior to the member/nonmember checks.
Would it be bad to test the approved header before rejecting a message? Essentially always accept a message with a valid approved header? Is there another way for me to achieve this?
That's the way it should be working. There is a potential issue if the password in the Approved: header when encrypted doesn't match the encrypted value in the lists moderator_password attribute, it is treated as if there were no Approved: header. This is a bug <https://gitlab.com/mailman/mailman/-/work_items/1276>. I.e., the message should be rejected but with a reason indicating the password was wrong.
On another front, I'm unable to have messages posted via "mailman inject" use postorius created list templates. Would it be difficult to add this functionality?
That should not be the case. Are you saying messages posted via email use Postorius created templates, but messages posted via mailman inject do not? If the templates are used for messages posted via email, they should also me used for messages posted via mailman inject. Have you verified that the templates are used for messages posted via email?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan