[Exim] Mailman redux

Top Page
Delete this message
Reply to this message
Author: Adam H. Pendleton
Date:  
To: exim-users
Subject: [Exim] Mailman redux
All,
    I am having some problems getting mailman to work, which are still
puzzling me, despite all the help that I've gotten from the list so far.  I
decided that I would lay out my steps explicitly, and perhaps someone would
see something that I overlooked.


I am using Mailman 2.1.1 on RedHat 8.0.

First I downloaded and built mailman with the following configure options:

--with-mail-gid=exim --with-cgi-gid=apache

I then did a chown mailman:mailman /usr/local/mailman; chmod a+rx,g+ws
/usr/local/mailman

After configuring the web server, I went to the web interface and created a
new list. Even though I specified that the list owner was to receive a
notification email, no email was ever received, nor was an entry for any
such email in the log. I then subscribed my email address to the list,
once again not receiving any notification emails. My configuration in
exim.conf is as follows:


# Mailman macros
MAILMAN_HOME = /usr/local/mailman
MAILMAN_WRAP = MAILMAN_HOME/mail/mailman
MAILMAN_USER = mailman
MAILMAN_GROUP = mailman

mailman_router:
    driver = accept
    require_files = MAILMAN_HOME/lists/$local_part/config.pck
    local_part_suffix_optional
    local_part_suffix = -bounces : -bounces+* : \
                        -confirm+* : -join : -leave : \
                        -owner : -request : -admin
    transport = mailman_transport


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


I then sent a message to the list from another machine, and saw the
following in the logs:

2003-03-20 09:56:09 18w1Sj-0004CI-00 <= fmonkey@???
H=208-41-36-211.client.dsl.net (galadriel.fmonkey.net) [208.41.36.211]
P=esmtp S=1643 id=200303201501.h2KF11G29594@???
2003-03-20 09:56:09 18w1Sj-0004CI-00 ** bb@???
R=mailman_router T=mailman_transport: Child process of mailman_transport
transport returned 2 from command: /usr/local/mailman/mail/mailman
2003-03-20 09:56:09 18w1Sj-0004CO-00 <= <> R=18w1Sj-0004CI-00 U=exim
P=local S=2460
2003-03-20 09:56:09 18w1Sj-0004CI-00 Completed

I remember it being mentioned that this was a permissions error, so I
changed MAILMAN_GROUP in the above configuration to be "MAILMAN_GROUP=exim"
and performed the same test. Now I get this in the log:

2003-03-20 09:58:29 18w1Uz-0004Cy-00 <= fmonkey@???
H=208-41-36-211.client.dsl.net (galadriel.fmonkey.net) [208.41.36.211]
P=esmtp S=1643 id=200303201503.h2KF3L929603@???
2003-03-20 09:58:29 18w1Uz-0004Cy-00 => bb <bb@???>
R=mailman_router T=mailman_transport
2003-03-20 09:58:29 18w1Uz-0004Cy-00 Completed

*But I never get any messages*!! The error log for mailman is empty. WTF
am I doing wrong (and believe me, I am sure it is me who is doing something
wrong!). :) Thanks for everyone's help and patience.

ahp