allows 'anyone from x domain' to send to list - but moderate new members

Asked by Brian McCarthy

I have "<email address hidden>" - and I want anyone sending from domain 'allowed.com' to be able to send out to this list.

I found the magic 'non-member-allow' pattern to get that to happen (from memory its ^[^@]\.allowed.com$ - but don't quote me)

All new members are moderated by default.

However, if someone from 'allow.com' gets on the list, and then tries to send to the list, they are rejected because their listing shows 'moderate'

I understand that the pattern won't matter because its part of the 'non-member' processing.

Any work around and/or wild-card that can get me through this besides un-moderating anyone subscribing who has a 'allow.com' domain?

Question information

Language:
English Edit question
Status:
Solved
For:
GNU Mailman Edit question
Assignee:
No assignee Edit question
Solved by:
Brian McCarthy
Solved:
Last query:
Last reply:
Revision history for this message
Mark Sapiro (msapiro) said :
#1

I understand your issue, but I'm afraid unmoderating allow.com users as they subscribe is the only solution.

See the script at <http://www.msapiro.net/scripts/set_mod.py> (mirrored at <http://fog.ccsf.cc.ca.us/~msapiro/scripts/set_mod.py>). This script will set or unset moderation for all list members whose address ends with any arbitrary string. If you put this script in Mailman's bin/ directory, you can run a command like

  bin/withlist -r set_mod LISTNAME --unset --domain='[@.]allow\.com$'

to unset moderation for every member address in the allow.com domain. You could run this periodically via cron to unmoderate these members more or less as they subscribe without modifying Mailman per se.

Revision history for this message
Brian McCarthy (bmccarthy) said :
#2

Thanks Mark. Its not a huge deal, but as soon as I read 'non-member' in the allow list, I was saying 'oh crap'.