[exim] Ubuntu & Mailman

Pàgina inicial
Delete this message
Reply to this message
Autor: Sascha Kaempf
Data:  
A: exim-users
Assumptes vells: [exim] 20 messages to send, but only 10 minutes to do it in
Assumpte: [exim] Ubuntu & Mailman
Hi,

at the moment I am playing a little around with Ubuntu's Exim Package
along with Mailman.
I have installed a list and tried to send a mail locally:

[...]
From: sheridan@???
To: mailman@???
Subject: Subscribe

Test
[...]

What I see in the logs is:

2005-02-22 21:52:46 1D3h1S-0004X3-PO <= sheridan@???
U=sheridan P=local S=349
2005-02-22 21:52:47 1D3h1S-0004X3-PO ** mailman@???
R=mailman_router T=mailman_transport: Child process of mailman_transport
transport returned 2 from command: /var/lib/mailman/mail/mailman
2005-02-22 21:52:47 1D3h1T-0004X9-D3 <= <> R=1D3h1S-0004X3-PO
U=Debian-exim P=local S=1236
2005-02-22 21:52:47 1D3h1S-0004X3-PO Completed
2005-02-22 21:52:47 1D3h1T-0004X9-D3 => sheridan
<sheridan@???> R=local_user T=mail_spool
2005-02-22 21:52:47 1D3h1T-0004X9-D3 Completed

The Error-Bounce reads:

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  mailman@???
    local delivery failed



The "mailman_transport" was taken from
http://www.exim.org/howto/mailman21.html and reads:

mailman_router:
    driver = accept
    domains = +mm_domains
    require_files = MM_LISTCHK
    local_part_suffix_optional
    local_part_suffix = -admin     : \
                        -bounces   : -bounces+* : \
                        -confirm   : -confirm+* : \
                        -join      : -leave     : \
                        -owner     : -request   : \
                        -subscribe : -unsubscribe
    transport = mailman_transport



and

mailman_transport:
    driver = pipe
    command = MM_WRAP \
    '${if def:local_part_suffix \
       {${sg{$local_part_suffix}{-(\\w+)(\\+.*)?}{\$1}}} \
                    {post}}' \
                    $local_part
                    current_directory = MM_HOME
                    home_directory = MM_HOME
                    user = MM_UID
                    group = MM_GID



Any ideas ?

Thanks in advance !

Cheers
Sascha