How to discard messages from just a few list members?

I am running some moderated mailing lists (for newsletters) where only I myself should be able to send messages. Every now and then some of my list members get trapped in a spam bulk mail and repeat this spam even to my lists.
In "Privacy options > Sender filters", I see many options to treat postings from non-member addresses. But I don't find a way to discard posting from defined list members automatically, without dropping them from the list.
Is there any such option that I have overseen?
I am currently running Mailman 2.1.16.
---Ulf Dunkel

On 08/21/2015 01:28 AM, Ulf Dunkel wrote:
Set the members moderated and set member_moderation_action to Discard.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Thank you, but I won't send unmoderated news to any newsletter. I am using Mailman for felt decades and I am so happy that the moderated flag always kept me from sending postings too early. Chances are that you post some stuff with unfixed errors and the moderated mode helps you to re-check your posting before you confirm that it should be spread.
I have now set up a regEx command and will see if it works.
---Ulf Dunkel

Ulf Dunkel writes:
Unmoderate yourself in the member view, and then use a privacy filter with your address, and action set to Hold.
The same strategy should work for any number of authorized posters by adding their addresses to the regexp with "|".
Note: Untested, but AFAIK the several moderation methods are independent in this way.
Steve

Hi Stephen.
I now have set these settings:
Privacy Options > Subscription rules > Sender filters:
- default_member_moderation: Yes (was already set)
- member_moderation_action: Discard (was: Hold)
- member_moderation_notice: "Sorry. This is a moderated mailing list. You don't have write access here." (without quotation marks)
Privacy Options > Subscription rules > Spam filters:
- header_filter_rules: Spam Filter Regexp: "From: Ulf Dunkel <dunkel@calamus.net>" (without quotation marks) *) Action: Hold
*) I firstly had to check which exact header phrase was used from my email client.
This seems to be the setting that works for me.
---Ulf Dunkel

On 08/24/2015 12:23 AM, Ulf Dunkel wrote:
The above is only used if member_moderation_action is Reject.
For the regexp, I would use
^From:.*dunkel@calamus.net
The ^ ensures that you will match an actual From: header and not just 'from:' anywhere in the headers, and then just look for your email address anywhere in that line. That way, it is not sensitive to how your MUA formats it. Also, since the action is Hold and you want to discard the rest, a false positive is not a problem as you can just discard the held message.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Thank you for your explanations, Mark!
(Mission accomplished)
---Ulf Dunkel

On 08/22/2015 06:03 AM, Richard Damon wrote:
To be more specific, set Privacy options... -> Sender filters -> default_member_moderation to Yes to automatically moderate new members and set Privacy options... -> Sender filters -> member_moderation_action to Discard and Submit Your Changes. Then on the Membership Management... -> Membership List page under Additional Member Tasks, set "Set everyone's moderation bit, including those members not currently visible" to On and click "Set".
Then, in order to be able to post yourself, uncheck your "mod" box on the Membership Management... -> Membership List pages and Submit Your Changes, or better still, leave yourself moderated and post with an Approved: <password> header. This latter method prevents others from posting by spoofing your address. See the FAQs at <http://wiki.list.org/x/4030685> and <http://wiki.list.org/x/4030556>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Dear Mark.
Thank you for your detailed cookbook, but I would lose moderation of my own postings to this newsletter mailing list if I would do either way as you suggested. I know that the basic intention of Mailman mailing lists is to let all members of a list communicate with others and I am kind of "misusing" it as a newsletter mailing list.
---Ulf Dunkel

In a message of Mon, 24 Aug 2015 09:10:46 +0200, Ulf Dunkel writes:
I had an idea for a work-around for you.
Get yourself a second account. Subscribe both of them to the mailing list. Moderate one, not the other. Disable mail delivery for one of the accounts -- don't unsubscribe, just turn off delivery. You can set both of them up as list moderators, list owners if you like, or just the one account if that is better for you.
Laura

Thank you for that suggestion, Laura, but it would also remove the basically wanted moderation of my own postings to my newsletter mailing list (I explained earlier why it is required).
I really seem to have found a working setup using the Spam filter now, as I posted about 40 minutes ago.
---Ulf Dunkel

On 08/21/2015 01:28 AM, Ulf Dunkel wrote:
Set the members moderated and set member_moderation_action to Discard.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Thank you, but I won't send unmoderated news to any newsletter. I am using Mailman for felt decades and I am so happy that the moderated flag always kept me from sending postings too early. Chances are that you post some stuff with unfixed errors and the moderated mode helps you to re-check your posting before you confirm that it should be spread.
I have now set up a regEx command and will see if it works.
---Ulf Dunkel

Ulf Dunkel writes:
Unmoderate yourself in the member view, and then use a privacy filter with your address, and action set to Hold.
The same strategy should work for any number of authorized posters by adding their addresses to the regexp with "|".
Note: Untested, but AFAIK the several moderation methods are independent in this way.
Steve

Hi Stephen.
I now have set these settings:
Privacy Options > Subscription rules > Sender filters:
- default_member_moderation: Yes (was already set)
- member_moderation_action: Discard (was: Hold)
- member_moderation_notice: "Sorry. This is a moderated mailing list. You don't have write access here." (without quotation marks)
Privacy Options > Subscription rules > Spam filters:
- header_filter_rules: Spam Filter Regexp: "From: Ulf Dunkel <dunkel@calamus.net>" (without quotation marks) *) Action: Hold
*) I firstly had to check which exact header phrase was used from my email client.
This seems to be the setting that works for me.
---Ulf Dunkel

On 08/24/2015 12:23 AM, Ulf Dunkel wrote:
The above is only used if member_moderation_action is Reject.
For the regexp, I would use
^From:.*dunkel@calamus.net
The ^ ensures that you will match an actual From: header and not just 'from:' anywhere in the headers, and then just look for your email address anywhere in that line. That way, it is not sensitive to how your MUA formats it. Also, since the action is Hold and you want to discard the rest, a false positive is not a problem as you can just discard the held message.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Thank you for your explanations, Mark!
(Mission accomplished)
---Ulf Dunkel

On 08/22/2015 06:03 AM, Richard Damon wrote:
To be more specific, set Privacy options... -> Sender filters -> default_member_moderation to Yes to automatically moderate new members and set Privacy options... -> Sender filters -> member_moderation_action to Discard and Submit Your Changes. Then on the Membership Management... -> Membership List page under Additional Member Tasks, set "Set everyone's moderation bit, including those members not currently visible" to On and click "Set".
Then, in order to be able to post yourself, uncheck your "mod" box on the Membership Management... -> Membership List pages and Submit Your Changes, or better still, leave yourself moderated and post with an Approved: <password> header. This latter method prevents others from posting by spoofing your address. See the FAQs at <http://wiki.list.org/x/4030685> and <http://wiki.list.org/x/4030556>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Dear Mark.
Thank you for your detailed cookbook, but I would lose moderation of my own postings to this newsletter mailing list if I would do either way as you suggested. I know that the basic intention of Mailman mailing lists is to let all members of a list communicate with others and I am kind of "misusing" it as a newsletter mailing list.
---Ulf Dunkel

In a message of Mon, 24 Aug 2015 09:10:46 +0200, Ulf Dunkel writes:
I had an idea for a work-around for you.
Get yourself a second account. Subscribe both of them to the mailing list. Moderate one, not the other. Disable mail delivery for one of the accounts -- don't unsubscribe, just turn off delivery. You can set both of them up as list moderators, list owners if you like, or just the one account if that is better for you.
Laura

Thank you for that suggestion, Laura, but it would also remove the basically wanted moderation of my own postings to my newsletter mailing list (I explained earlier why it is required).
I really seem to have found a working setup using the Spam filter now, as I posted about 40 minutes ago.
---Ulf Dunkel
participants (5)
-
Laura Creighton
-
Mark Sapiro
-
Richard Damon
-
Stephen J. Turnbull
-
Ulf Dunkel