[Exim] Exim and Mailman

Top Page
Delete this message
Reply to this message
Author: Adam H. Pendleton
Date:  
To: exim-users
Subject: [Exim] Exim and Mailman
I am having some trouble getting mailman to work with Exim, and I was
hoping someone could shed some light on what I am doing wrong. I am
running Exim 4.12 on RedHat 8.0. In my exim.conf I have:

# 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=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


All of that is pretty much right out of the README.EXIM that came with
Mailman 2.1. I have a list called "abc", which I have created and am a
member of, but when mailing from a server on the local net:

bash$ mail abc@??? < /etc/issue

I get the following in main.log:
2003-03-12 09:59:26 18t7hW-00050G-00 <= fmonkey@???
U=fmonkey P=local S=1402
2003-03-12 09:59:26 18t7hW-00050G-00 ** abc@???
R=mailman_router T=mailman_transport: Child process of mailman_transport
transport returned 2 from command: /usr/local/mailman/mail/mailman
2003-03-12 09:59:26 18t7hW-00050M-00 <= <> R=18t7hW-00050G-00 U=exim
P=local S=2200
2003-03-12 09:59:26 18t7hW-00050G-00 Completed
2003-03-12 09:59:26 18t7hW-00050M-00 remote host address is the local
host: mail.fmonkey.net
2003-03-12 09:59:26 18t7hW-00050M-00 == fmonkey@???
R=dnslookup defer (-1): remote host address is the local host
2003-03-12 09:59:26 18t7hW-00050M-00 Frozen


What's the deal? What am I doing wrong?

ahp