[Pkg-mailman-hackers] Mailman newlist on Debian Squeeze

Lionel Elie Mamane lmamane at debian.org
Tue Sep 4 16:40:31 UTC 2012


On Tue, Sep 04, 2012 at 06:26:16PM +0200, Szabó Gergely wrote:
>> I'm not sure why you are asking me for help?

> I've fixed mailman in the meantime with a local wrapper for newlist usr/local/sbin/newlist
> also modifying /etc/exim4/conf.d/router/970_local_mailman

The maintainer of the Debian package of Mailman can be reached at
mailman at packages.debian.org.

IMHO, your wrapper should not be necessary; you are putting the new
list name in the part that was meant only for the "special" site list
(which is called 'mailman' per default).

You introduce the bug that every list will be present on all domains
served by the Exim4 installation, while only the site mailing list is
supposed to be on all domains.

I think rather you forgot one step of the setup text *before* it tells
you to put stuff in /etc/exim4/conf.d/*/*


For reference, here's Szabó newlist wrapper:

> #!/bin/sh
> # Find 1st arg not starting with - : this is the listname
> for i in $@; do
>   if echo $i | grep '^[^-]' >/dev/null; then
>     list=$i
>     break
>   fi
> done
> if [ -z "$list" ]; then
>   echo Please specify at least the listname on the command line
>   echo This is a local wrapper for command newlist,
>   echo also updating /etc/exim4/conf.d/router/970_local_mailman
>   exit 1
> fi
> sed -r "s/^( *local_parts = .+)$/\1 : $list/" -i /etc/exim4/conf.d/router/970_local_mailman
> /usr/sbin/newlist $@

-- 
Lionel



More information about the Pkg-mailman-hackers mailing list