[Mailman-Users] Re: Mailman-Users digest, Vol 1 #1425 - 4 msgs
Gareth Swarbrick
rageth at yahoo.com
Tue Sep 4 05:18:46 CEST 2001
I was reading this post with interest at yet another solution to the
problem that many of us seem to face:
* We want to exclude posters to those in the list and a set of 'other' users
* We need to do this in a manageable way and minimise errors
This sounds like a good alternative presented by Brent - ie subscribe
the 'other' users as silent members to automatically include them in
the list. Idealy I have been waiting for a regexp in the 'Addresses
of members accepted for posting to this list without implicit
approval requirement' options but in the meantime have implement my
own solution. I thought I might share it with the group and it's
still probably the best for us at present.
I manage 116 lists at our School - one for every subject and some
extra lists for staff. All staff needs to be able to post but I want
to keep the lists closed to outsiders. My solution was to write a
'reconfig' script to go through all posts and change a configuration
option. It's very simple and looks like this:
#!/bin/csh
# output 'listname : owner' for all lists
if (($1 == "") || (! -e {$1:r}.conf)) then
echo "Reconfigures all lists according to file.conf"
echo "Usage: reconfig file.conf"
else
foreach i (~mailman/lists/*)
set this=`basename $i`
echo "Changing configuration for list: $this"
~mailman/bin/config_list -i ${1:r}.conf $this
end
endif
it is given a .conf file which contains the reconfiguration option.
In my case a list of posters, posters.conf, who can post to the list.
I add a poster to poster.conf then run the reconfig script. This
makes general changes to all scripts fairly painless, as long as you
know the configuration keyword and format. The only drawback is that
at present I have to go back to any lists that are open and remove
the posters, otherwise *only* these posters can post to these lists...
Gareth.
>Date: Mon, 3 Sep 2001 17:30:54 -0500 (CDT)
>From: "Brent J. Nordquist" <brent-nordquist at bethel.edu>
>Reply-To: "Brent J. Nordquist" <brent-nordquist at bethel.edu>
>To: <mailman-users at python.org>
>Message-ID: <Pine.LNX.4.33.0109031724520.1952-500000 at kepler.acns.bethel.edu>
>MIME-Version: 1.0
>Content-Type: MULTIPART/MIXED; BOUNDARY="1485577760-804192951-999556254=:1952"
>Subject: [Mailman-Users] Patch: list_members/sync_members and
>nomail/hide options
>Sender: mailman-users-admin at python.org
>Precedence: bulk
>List-Help: <mailto:mailman-users-request at python.org?subject=help>
>List-Post: <mailto:mailman-users at python.org>
>List-Subscribe: <http://mail.python.org/mailman/listinfo/mailman-users>,
> <mailto:mailman-users-request at python.org?subject=subscribe>
>List-Id: Mailman mailing list management users <mailman-users.python.org>
>List-Unsubscribe: <http://mail.python.org/mailman/listinfo/mailman-users>,
> <mailto:mailman-users-request at python.org?subject=unsubscribe>
>List-Archive: <http://mail.python.org/pipermail/mailman-users/>
>
>Inspired by nomail.py by Dan Mick <dmick at utopia.West.Sun.COM>, I've made
>some patches to 2.0.6 (attached) that allow list_members and sync_members
>to deal with the "nomail" and "hide" options (using a new -N flag). This
>is to allow me to add multiple addresses for each user, with all but one
>set to "nomail+hide", to solve the only-members-can-post problem.
>
>I want to emphasise that this is pretty much a hack. I've been coding in
>Python for (/me checks watch) about 2 1/2 hours now <grin> but this seems
>to do what I needed, so I'm offering it in case others find it helpful.
>
>--
>Brent J. Nordquist <brent-nordquist at bethel.edu> N0BJN
>Yahoo!: Brent_Nordquist / AIM: BrentJNordquist / ICQ: 76158942
>
>Content-Type: TEXT/PLAIN; charset=US-ASCII; name="list_members.patch"
>Content-ID: <Pine.LNX.4.33.0109031730540.1952 at kepler.acns.bethel.edu>
>Content-Description:
>Content-Disposition: attachment; filename="list_members.patch"
>
>Attachment converted: Zaphod:list_members.patch (TEXT/R*ch) (0002CBFF)
>Content-Type: TEXT/PLAIN; charset=US-ASCII; name=list_members
>Content-ID: <Pine.LNX.4.33.0109031730541.1952 at kepler.acns.bethel.edu>
>Content-Description:
>Content-Disposition: attachment; filename=list_members
>
>Attachment converted: Zaphod:list_members (TEXT/R*ch) (0002CC00)
>Content-Type: TEXT/PLAIN; charset=US-ASCII; name="sync_members.patch"
>Content-ID: <Pine.LNX.4.33.0109031730542.1952 at kepler.acns.bethel.edu>
>Content-Description:
>Content-Disposition: attachment; filename="sync_members.patch"
>
>Attachment converted: Zaphod:sync_members.patch (TEXT/R*ch) (0002CC01)
>Content-Type: TEXT/PLAIN; charset=US-ASCII; name=sync_members
>Content-ID: <Pine.LNX.4.33.0109031730543.1952 at kepler.acns.bethel.edu>
>Content-Description:
>Content-Disposition: attachment; filename=sync_members
>
>Attachment converted: Zaphod:sync_members (TEXT/R*ch) (0002CC02)
>--__--__----
>Content-type: text/plain; charset=us-ascii
>Content-description: Digest Footer
>
>------------------------------------------------------
>Mailman-Users maillist - Mailman-Users at python.org
>http://mail.python.org/mailman/listinfo/mailman-users
--
---------------------------------------------------------------------------
Gareth Swarbrick __ ^ Job watch:
School of Civil Engineering _/ \__/ \ F u cn rd ths,
University of New South Wales / \ u cn gt a gd jb
Sydney, Australia 2052 / \ n cmptr prgrmmng.
Internet: \ ____ */
G.Swarbrick at unsw.edu.au or \_/ \___/
gareth at civeng.unsw.edu.au __o __
Phone: +61-2-9385-5016 --- +-\<: --- \/ "In vino e veritas"
Fax: +61-2-9385-6139 ---..(O)/(O)..---
http://www.civeng.unsw.edu.au/staff/swarbrick.g/
---------------------------------------------------------------------------
More information about the Mailman-Users
mailing list