Re: [exim] Mailman 2.1 and Exim 3.36

Etusivu
Poista viesti
Vastaa
Lähettäjä: Thomas Hochstein
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] Mailman 2.1 and Exim 3.36
"John W. Baxter" schrieb:

> Well, there are "cookbooks" for Mailman 2.0.x and Exim 3, and for Mailman
> 2.1.x and Exim 4.
>
> There will be some work adapting those to the 2.1 and Exim 3 combination,


Not really, I think. You just have to make Exim use the aliases file,
or - better - you use the "wildcard" directors. AFAIR my installation
of Mailman 2.1.5 is running with Exim 3.x - no problem whatsoever.

| ### Mailman-Config
| # Home dir for your Mailman installation -- aka Mailman's prefix
| # directory.
| MAILMAN_HOME=/usr/local/mailman
| MAILMAN_WRAP=MAILMAN_HOME/mail/mailman

|
| # User and group for Mailman, should match your --with-mail-gid
| # switch to Mailman's configure script.
| MAILMAN_USER=mailman
| MAILMAN_GROUP=exim

|
| [...]

|
| ######################################################################
| #                      TRANSPORTS CONFIGURATION                      #
| ######################################################################
| #                       ORDER DOES NOT MATTER                        #
| #     Only one appropriate transport is called for each delivery.    #
| ######################################################################
| [...]
| # This transport is used for delivering messages to the mailman MLM
| mailman_transport:
|   driver = pipe
|   command = MAILMAN_WRAP \
|             '${if def:local_part_suffix \
|                   {${sg{$local_part_suffix}{-(\\w+)(\\+.*)?}{\$1}}} \
|                   {post}}' \
|             $local_part
|   current_directory = MAILMAN_HOME
|   home_directory = MAILMAN_HOME
|   user = MAILMAN_USER
|   group = MAILMAN_GROUP

|
| [...]

|
| ######################################################################
| #                      DIRECTORS CONFIGURATION                       #
| #             Specifies how local addresses are handled              #
| ######################################################################
| #                          ORDER DOES MATTER                         #
| #   A local address is passed to each in turn until it is accepted.  #
| ######################################################################
| [...]
| # This director handles the Mailman MLM

|
| # Handle all addresses related to a list 'foo': the posting address.
| # Automatically detects list existence by looking
| # for lists/$local_part/config.pck under MAILMAN_HOME.
| mailman_director:
|   driver = smartuser
|   require_files = MAILMAN_HOME/lists/$local_part/config.pck
|   suffix_optional
|   suffix = -bounces : -bounces+* : \
|            -confirm+* : -join : -leave : \
|            -owner : -request : -admin
|   transport = mailman_transport


That should do it, I presume. Adjust the MAILMAN_*-variables as
needed.

-thh