On 8/30/20 6:15 AM, Ruth Ivimey-Cook wrote:
I looked around the interface and decided to set up the sender as a non-member, as that appeared to permit them to be "special" and outside of the normal access rules for the list. Before I did that I could send a message from this sender and that would be sent to me as list owner for moderation, so both incoming (from my mailserver) and outgoing (to it) can be completed.
However, with a non-member who is auto-accepted the message is passed from my mailserver to mailman and then disappears. I cannot find anything in the logs to indicate what happened next. I have tried setting the default non-member policy to both 'hold' and 'default' with no change in that behaviour. The logs for the mailserver show the message being sent to mailman; mailman's "smtp.log" shows an LMTP message being received ok, and then nothing.
Any ideas how to find out what is going on? I can share config if that helps but not sure what would be useful.
First, this is a bad way to configure an announce list because anyone can post by spoofing the authorized posting address.
The better way is to set a list moderator password and post using an Approved: <password> header or pseudo header. See <https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/rules/docs/approved.html> for details.
As far as the disappearing message is concerned, it's hard to say. What is the non-member's moderation action? Unless it is 'list default' setting the list's default non-member policy has no effect. Also, if the non-member's address or a pattern matching it is in accept_these_nonmembers, that takes precedence over whatever the non-member's moderation action is.
One guess about the disappearing message is content filtering may be removing all the message. What is the setting for Filter Action?
As a side-issue, at one point I added a regex matching the sender address to the acceptable members list, but find that I cannot now delete it (using postorius): If I delete the field and Save, it returns on page refresh.
There is an issue with Postorius. You can't empty these settings. If you
clear the box or or have it contain only whitespace, Postorius won't
change the prior setting. In order to remove the only entry in
Postorius, you have to replace it with a bogus entry or you can remove
it with mailman shell
. I've just filed
<https://gitlab.com/mailman/postorius/-/issues/444> for this.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan