non-members issue with held email
Hi
I want to check a issue with a few mailing lists of us.
We do run mailman3 on debian with debian package 3.2.1-1 (not yet updated for backup reasons).
We created a new mailinglist, added 3 owner and several members. Now we want some email addresses to post to that list but not receive mails from the list. So I added those to the "non-member" area of the mailinglist and checked every non-member to "acceppt at once".
But on a test, a email address, which is owner AND non-member, cannot send to mailinglist, always get a "HOLD: ...... The message is not from a list member"
The Email address in that HOLD log entry is the same as in the owner/non-member list.
Any idea howto check the mailman3 logs for this case?
Thank you.
MfG, Lars Schimmer
TU Graz, Institut für ComputerGraphik & WissensVisualisierung Tel: +43 316 873-5405 E-Mail: l.schimmer@cgv.tugraz.at Fax: +43 316 873-5402 PGP-Key-ID: 0x4A9B1723
On 7/20/21 2:09 AM, Lars Schimmer wrote:
We created a new mailinglist, added 3 owner and several members. Now we want some email addresses to post to that list but not receive mails from the list. So I added those to the "non-member" area of the mailinglist and checked every non-member to "acceppt at once".
But on a test, a email address, which is owner AND non-member, cannot send to mailinglist, always get a "HOLD: ...... The message is not from a list member"
See https://gitlab.com/mailman/mailman/-/issues/659
If you read through the comment thread, you'll see that the issue is when setting moderation action for an address which is both an owner and a nonmember, it is the owner's action that actually gets set, so that the nonmember's action remains set to list default.
You need to set the moderation action for the nonmember via mailman shell
. If all the non-members are the ones you added, you can do
$ mailman shell -l your.list.id
Welcome to the GNU Mailman shell
Use commit() to commit changes.
Use abort() to discard changes since the last commit.
Exit with ctrl+D does an implicit commit() but exit() does not.
The variable 'm' is the ... mailing list
>>> for nonmember in m.nonmembers.members:
... nonmember.moderation_action = Action.accept
...
>>> commit()
If there are other nonmembers whose action you don't want to set to accept, you need to do something like
>>> emails = ['first@example.com',
'second@example.com',
<more emails>,
]
>>> for nonmember in m.nonmembers.members:
... if nonmember.address.email in emails:
... nonmember.moderation_action = Action.accept
...
>>> commit()
to only do the ones you want.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Lars Schimmer
-
Mark Sapiro