[exim] Exim and Mailman grief

Etusivu
Poista viesti
Vastaa
Lähettäjä: ben.tanner
Päiväys:  
Vastaanottaja: exim-users
Aihe: [exim] Exim and Mailman grief
Afternoon,

I'm having a little grief with exim and mailman. It appears that some
component of my mail routing setup is stripping out the
$local_part_suffix from any email being sent to my mailing lists.

My current setup is as follows:

The MTAs are running 4.63 with mailman 2.1.5 on Red Hat Enterprise 4AS

I have some MX's that sit dealing with mail from the outside world, and
on them they have a router configured to forward mail onto the Mailman
List Server:

--------------
# MailMan Routing
route2list:
        driver = manualroute
        domains = +local_domains
        route_data = ${lookup mysql{MYSQL_Q_LIST}}
        local_part_suffix_optional
        local_part_suffix = -bounces : -bounces+* :\
                        -confirm+* : -join : -leave : \
                        -owner : -request : -admin
        transport = remote_smtp
--------------


The MYSQL_Q_LIST pulls up the relevant server for the list based on
$local_part, and this appears to be working just fine.

Looking at the message headers I see this:

--------------
197P Received: from [10.0.0.30] (helo=mailgw01.xxxxxx.ac.uk)
        by linuxdev.xxxxxx.ac.uk with esmtp (Exim 4.63)
        id 1Gp640-00039o-T8
        for testing@???; Tue, 28 Nov 2006 16:44:08 +0000
189P Received: from [127.0.0.1] (helo=localhost)
        by mailgw01.xxxxxx.ac.uk with esmtp (Exim 4.63)
        id 1Gp640-0001UV-Qb
        for testing-request@???; Tue, 28 Nov 2006 16:44:08
+0000
238P Received: from mailgw01.xxxxxx.ac.uk ([127.0.0.1])
 by localhost (mailgw01.xxxxxx.ac.uk [127.0.0.1]) (amavisd-new, port
10024)
 with ESMTP id 05677-02 for <testing-request@???>;
 Tue, 28 Nov 2006 16:44:08 +0000 (GMT)
206P Received: from [66.249.92.171] (helo=ug-out-1314.google.com)
        by mailgw01.xxxxxx.ac.uk with esmtp (Exim 4.63)
        id 1Gp63z-0001UM-Uy
        for testing-request@???; Tue, 28 Nov 2006 16:44:08
+0000
--------------


The message loops through the MX once to pass through our AV router, but
the destination address is intact upon re-entry to the gateway, as the
logs show:

--------------
2006-11-28 16:44:08 1Gp63z-0001UM-Uy <= xxxxxx@???
H=(ug-out-1314.google.com) [66.249.92.171] P=esmtp S=1295
id=a15b6ece0611280844v621f2133s20d9224ba437df46@???
2006-11-28 16:44:08 1Gp63z-0001UM-Uy => testing-request@???
R=virus_scan T=virus_scan H=localhost.mailgw01.xxxxxx.ac.uk [127.0.0.1]
2006-11-28 16:44:08 1Gp63z-0001UM-Uy Completed
2006-11-28 16:44:08 1Gp640-0001UV-Qb <= xxxxxx@??? H=(localhost)
[127.0.0.1] P=esmtp S=1944
id=a15b6ece0611280844v621f2133s20d9224ba437df46@???
2006-11-28 16:44:08 1Gp640-0001UV-Qb => testing@???
<testing-request@???> R=route2list T=remote_smtp
H=mailman.xxxxxx.ac.uk [10.0.0.59]
2006-11-28 16:44:08 1Gp640-0001UV-Qb Completed
--------------

If anyone could shed some light on this for me, that'd be great!

Thanks,

Ben
--
Benjamin Tanner
- Senior Systems Administrator
Networks & Systems Team, Computing Service,
Canterbury Christ Church University
Network Operations Centre, KentMAN Ltd
http://www.canterbury.ac.uk http://www.kentman.ac.uk