[Mailman-Users] Applying contradicting posting permissions at the same time
Hello, I want to setup a mailing list with following properties: All emails with explicit non-members with moderation option “Default Processing” are distrubuted to the mailing list. Emails from members are rejected. As example m...@example.org is a member, and n...@example.org is a non-member with Default processing moderation. An email From: m...@example.org Sender: n...@example.org shall be distributed, because n...@example.org is а non-member, who can post. In my configuration however, the email is rejected, because m...@example.org is a member and members may not post. Is it possible to configure a MM3 mailing list, which accepts the above email, but would reject it, if the Sender: header is missing? Greetings Дилян -- Mailman-Users mailing list -- mailman-users@python.org To unsubscribe send an email to mailman-users-le...@python.org https://mail.python.org/mailman3/lists/mailman-users.python.org/ Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/ https://mail.python.org/archives/list/mailman-users@python.org/
[Mailman-Users] Re: Applying contradicting posting permissions at the same time
On 4/18/22 04:56, Дилян Палаузов wrote: Hello, I want to setup a mailing list with following properties: All emails with explicit non-members with moderation option “Default Processing” are distrubuted to the mailing list. Emails from members are rejected. As example m...@example.org is a member, and n...@example.org is a non-member with Default processing moderation. An email From: m...@example.org Sender: n...@example.org shall be distributed, because n...@example.org is а non-member, who can post. In my configuration however, the email is rejected, because m...@example.org is a member and members may not post. Is it possible to configure a MM3 mailing list, which accepts the above email, but would reject it, if the Sender: header is missing? It's not really possible. One thing is the messages senders method which returns addresses from places in ``` [mailman] sender_headers: ``` which is `from from_ reply-to sender`bye default where `from_` is the envelope sender. You could reorder this putting `sender` ahead of `from`, but that won't really do it because the rules chain processes member moderation before nonmember moderation so if any sender is a member, that will trump any nonmember sender. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list -- mailman-users@python.org To unsubscribe send an email to mailman-users-le...@python.org https://mail.python.org/mailman3/lists/mailman-users.python.org/ Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/ https://mail.python.org/archives/list/mailman-users@python.org/
[Mailman-Users] Re: Automate Moderator Functions
Mark, no. I checked the log of postfix, and dont exist new email from mailman after the original message was delivered. --- Em 14/04/2022 16:18, Mark Sapiro escreveu: > On 4/14/22 12:11, Andre de Azevedo Cunha wrote: > >> The change works, the message was discarted, but the sender dont >> received the notify. I`m trying to understand why. > > The message should be returned to the sender with notice as to why. Is it > possible it was discarded for some other reason? -- Mailman-Users mailing list -- mailman-users@python.org To unsubscribe send an email to mailman-users-le...@python.org https://mail.python.org/mailman3/lists/mailman-users.python.org/ Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/ https://mail.python.org/archives/list/mailman-users@python.org/
[Mailman-Users] Re: Automate Moderator Functions
Mark, i solved with this code: # diff chains/builtin.py.ori chains/builtin.py 62c62 < ('max-size', LinkAction.defer, None), --- > ('max-size', LinkAction.jump, 'reject'), # diff rules/max_size.py.ori rules/max_size.py 47c47 < (_('The message is larger than the {} KB maximum size'), --- > (_('Your message was rejected because is bigger than the list max value {} > KB, please reduce the message and try again'), --- Em 18/04/2022 14:37, Andre de Azevedo Cunha escreveu: > Mark, > > no. I checked the log of postfix, and dont exist new email from mailman > after the original message was delivered. > > --- > > Em 14/04/2022 16:18, Mark Sapiro escreveu: > > On 4/14/22 12:11, Andre de Azevedo Cunha wrote: > > The change works, the message was discarted, but the sender dont > received the notify. I`m trying to understand why. > The message should be returned to the sender with notice as to why. Is it > possible it was discarded for some other reason? -- Mailman-Users mailing list -- mailman-users@python.org To unsubscribe send an email to mailman-users-le...@python.org https://mail.python.org/mailman3/lists/mailman-users.python.org/ Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/ https://mail.python.org/archives/list/mailman-users@python.org/ -- Mailman-Users mailing list -- mailman-users@python.org To unsubscribe send an email to mailman-users-le...@python.org https://mail.python.org/mailman3/lists/mailman-users.python.org/ Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/ https://mail.python.org/archives/list/mailman-users@python.org/
[Mailman-Users] Re: Automate Moderator Functions
with correct return text: # diff rules/max_size.py.ori rules/max_size.py 47,48c47,48 < (_('The message is larger than the {} KB maximum size'), < mlist.max_message_size)) --- > (_('Your message was rejected because is bigger ( {} KB ) than the list max > value, please reduce the message to bellow of {} KB and try again'), > round(msg.original_size/1024.0,2),mlist.max_message_size)) --- Em 18/04/2022 14:59, Andre de Azevedo Cunha escreveu: > Mark, > > i solved with this code: > > # diff chains/builtin.py.ori chains/builtin.py > 62c62 > < ('max-size', LinkAction.defer, None), > --- > >> ('max-size', LinkAction.jump, 'reject'), > > # diff rules/max_size.py.ori rules/max_size.py > 47c47 > < (_('The message is larger than the {} KB maximum size'), > --- > >> (_('Your message was rejected because is bigger than the list max value {} >> KB, please reduce the message and try again'), > > --- > > Em 18/04/2022 14:37, Andre de Azevedo Cunha escreveu: > >> Mark, >> >> no. I checked the log of postfix, and dont exist new email from mailman >> after the original message was delivered. >> >> --- >> >> Em 14/04/2022 16:18, Mark Sapiro escreveu: >> >> On 4/14/22 12:11, Andre de Azevedo Cunha wrote: >> >> The change works, the message was discarted, but the sender dont >> received the notify. I`m trying to understand why. >> The message should be returned to the sender with notice as to why. Is it >> possible it was discarded for some other reason? > -- > Mailman-Users mailing list -- mailman-users@python.org > To unsubscribe send an email to mailman-users-le...@python.org > https://mail.python.org/mailman3/lists/mailman-users.python.org/ > Mailman FAQ: http://wiki.list.org/x/AgA3 > Security Policy: http://wiki.list.org/x/QIA9 > Searchable Archives: > https://www.mail-archive.com/mailman-users@python.org/ > https://mail.python.org/archives/list/mailman-users@python.org/ > -- > Mailman-Users mailing list -- mailman-users@python.org > To unsubscribe send an email to mailman-users-le...@python.org > https://mail.python.org/mailman3/lists/mailman-users.python.org/ > Mailman FAQ: http://wiki.list.org/x/AgA3 > Security Policy: http://wiki.list.org/x/QIA9 > Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/ > https://mail.python.org/archives/list/mailman-users@python.org/ -- Mailman-Users mailing list -- mailman-users@python.org To unsubscribe send an email to mailman-users-le...@python.org https://mail.python.org/mailman3/lists/mailman-users.python.org/ Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/ https://mail.python.org/archives/list/mailman-users@python.org/