[Mailman-Users] Change -owner addresses

Mark Sapiro msapiro at value.net
Mon Nov 6 17:34:16 CET 2006


Joakim Nömell wrote:
>
>Yes, I'm using Exim with Mailman. What kind of changes do I need in this 
>case?


Assume you want to change '-owner' to '-xyz', and further assume you
have configured Exim more or less according to
<http://www.exim.org/howto/mailman21.html>.

Then you have something in your router definition for Mailman that
looks like

    local_part_suffix_optional
    local_part_suffix = -admin     : \
                        -bounces   : -bounces+* : \
                        -confirm   : -confirm+* : \
                        -join      : -leave     : \
                        -owner    : -request   : \
                        -subscribe : -unsubscribe

Here you would just change '-owner' to '-xyz'

The trickier part is in your Mailman transport definition which
contains something like

    command = MM_WRAP \
              '${if def:local_part_suffix \
                    {${sg{$local_part_suffix}{-(\\w+)(\\+.*)?}{\$1}}} \
                    {post}}' \
              $local_part

which needs to be changed to

    command = MM_WRAP \
              '${if def:local_part_suffix \
                    {${sg{${sg{$local_part_suffix}{-xyz}{-owner}}} \
                    {-(\\w+)(\\+.*)?}{\$1}}} \
                    {post}}' \
              $local_part


-- 
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan




More information about the Mailman-Users mailing list