[Mailman-Developers] observations from new user

Brian Grossman brian@SoftHome.net
Mon, 10 Apr 2000 17:31:43 -0600


This is a multipart MIME message.

--==_Exmh_9383417880
Content-Type: text/plain; charset=us-ascii


> > One general observation: Why does DEFAULT_PRIVATE_ROSTER default to
> > 0?  I would think that 2 would be a better choice.
> 
> Well, obviously someone had to choose some sort of default back in the
> murky beginnings of time.
> 
> Why that someone preferred 0 over 2?  Dunno, but as long as people
> have become used to this, or even are comfortable with it[1], I think
> you'd have to make a stronger argument for why you think it should be
> changed than the quick note above :)

Two, then:

Does anyone actually run with DEFAULT_PRIVATE_ROSTER set to 0?  My
suspicion is that just about everyone either sets it in their mm_cfg.py or
sets it manually to 2 for each list.

Shouldn't the default to be to protect privacy?  2 does that.  0 does not.

> > Where should I send a script that eliminates the need for five
> > .qmail files per list?
> 
> As Ricardo said: Here would be a good place.

It's attached.

Brian


--==_Exmh_9383417880
Content-Type: text/plain ; name="Qwrap"; charset=us-ascii
Content-Description: Qwrap
Content-Disposition: attachment; filename="Qwrap"

#!/bin/bash

# Copyright 2000, Brian Grossman
# You may use this program under the same conditions as you may use
# Mailman itself.  See the file gnu-COPYING-GPL in the Mailman 2 distribution.

# Author:  Brian Grossman <brian@SoftHome.net>
#  8 Apr 2000	birth


# This script is intended to make it so you don't have to make 5
# .qmail files for each list.


# Put in .qmail-HOST-default or .qmail-default:
#	|preline /home/mailman/Qwrap
#
# Pay special attention to setting $forward and $mailman_owner below.


# It assumes that you have lines like this in your /var/qmail/users/assign:
#	+softhome-:mailman:417:106:/home/mailman:-:softhome-:
# paired with lines like this in your /var/qmail/control/virtualdomains:
#	lists.softhome.net:softhome
# (Don't forget to run qmail-newu.)


# It's intended for qmail 1.03.  I haven't tested it with any other version.
# It's intended for mailman 2.0b2.  I haven't tested it with any other version.


forward=/var/qmail/bin/forward
mailman_owner='your.email.here'

do=''
# do=echo # for debugging

if [ $do = echo ]
then
	exec </dev/null
	EXT="$1"
fi

args="$EXT"

if [ "$args" = '' -o "$args" = owner ]
then
	$do exec $forward $mailman_owner
	exit 0 # the exits are in case $do is not ''
fi

host=${args%%-*}
args=${args#*-}
first=${args%%-*}
last=${args##*-}
list=,,,,,,,,,,,,,,,

if [ "$args" = '' -o "$args" = owner ]
then
	$do exec $forward $mailman_owner
	exit 0
fi

function islistP () {
	[ -d "lists/$1" ]
	}

if [ "$last" = owner -o "$last" = admin ]
then
	list=${args%-$last}
	if islistP $list ; then
		$do exec /home/mailman/mail/wrapper mailowner $list
		exit 0
	fi
	list=,,,,,,,,,,,,,,,
fi

if [ "$first" = owner ]
then
	list=${args#$first-}
	if islistP $list ; then
		$do exec /home/mailman/mail/wrapper mailowner $list
		exit 0
	fi
	list=,,,,,,,,,,,,,,,
fi

if [ "$last" = request -o "$last" = requests ]
then
	list=${args%-$last}
	if islistP $list ; then
		$do exec /home/mailman/mail/wrapper mailcmd $list
		exit 0
	fi
	list=,,,,,,,,,,,,,,,
fi

list="$args"

if islistP $list ; then
	$do exec /home/mailman/mail/wrapper post $args
	exit 0
fi
list=,,,,,,,,,,,,,,,

$do exec $forward $mailman_owner
exit 0

--==_Exmh_9383417880--