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 '' 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 ^[^@]\$ - but don't quote me)

All new members are moderated by default.

However, if someone from '' 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 '' domain?

Question information

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

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

See the script at <> (mirrored at <>). 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 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 :

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