On Wed, Mar 19, 2008 at 7:59 PM, Jeff Cann <<a href="mailto:jccann@gmail.com">jccann@gmail.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Also, I will [later tonight] change the settings of each list to not hold pending moderator requests. I'm not sure why I left the default to hold moderator requests.<br></blockquote></div><br>Ok, I did some checking and the ONLY list that did not automatically reject posts from non-members was the default 'mailman' list. This is the one that held the 5K worth of spam messages. For some reason in mailman 2.x, they added the 'mailman' list as a default, non-optional list. I guess I never gave the configuration much thought since it's not a published list. Apparently, some idiot spammers are sending to it since it's a well-known default.<br>
<br>Anyway, we are all set now as all lists, published or not have 'reject' for the setting for what to do with posts from non-members. The configuration variable is 'generic_nonmember_action'.<br><br>Here's how I did this for future reference / training:<br>
<br>$ sudo su - root<br># cd /var/lib/mailman<br><br>-- This for loop will dump the configuration of each mailman list to a file named <listname>.cfg:<br><br># for l in `ls lists`<br> do <br> /usr/lib/mailman/bin/config_list -o $l.cfg $l; <br>
done<br><br>-- Check the value for discard non-member posts to confirm all are set to '3'<br><br># grep generic_nonmember_action *.cfg<br><br>clue-admin.cfg:generic_nonmember_action = 3<br>clue-announce.cfg:generic_nonmember_action = 3<br>
clue-cert.cfg:generic_nonmember_action = 3<br>clue-members.cfg:generic_nonmember_action = 3<br>clue-talk.cfg:generic_nonmember_action = 3<br>clue-tech.cfg:generic_nonmember_action = 3<br>mailman.cfg:generic_nonmember_action = 3<br>
<br>Jeff<br clear="all"><br>-- <br>Read my blog at <a href="http://www.isuma.org/">http://www.isuma.org/</a>