[exim] allow duplicate messages

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jonathan Gilpin
Date:  
À: exim-users
Sujet: [exim] allow duplicate messages
Hi,

I have been setting up a catchall system on my exim server.

I have a mysql table with users in for example. postmaster@???
and then the following setup:

mysql_aliases:
driver = redirect
file_transport = address_file
pipe_transport = address_pipe
data = ${lookup mysql{SELECT destination FROM aliases,emailtable
WHERE emailtable.email = aliases.destination and (aliases.address = '$
{quote_mysql:$local_part}@${quote_mysql:$domain}' or aliases.address =
'*@${quote_mysql:$domain}')}}

This has an alias of *@domain.com to postmaster@??? to create a
catchall...

However, with this setup, duplicate mails are dropped.. so if someone
sends an email to bob@???,eggs@??? then only one message
is delivered with Two addresses on the Envelope-to field..

How can I modify this so that two seperate messages are delivered to
the Maildir? I need this method to work as I am delivering the
messages via SMTP from the Maildir to Exchange Servers.

Kind Regards,

Jonathan Gilpin
fluent Ltd
www.fluent.ltd.ukFrom warren@??? Fri Jul 03 10:17:41 2009
Envelope-to: exim-users@???
Received: from mail-bw0-f212.google.com ([209.85.218.212]:36467)
    by tahini.csx.cam.ac.uk with esmtp (Exim 4.69)
    (envelope-from <warren@???>) id 1MMetl-0004iP-OM
    for exim-users@???; Fri, 03 Jul 2009 10:17:41 +0100
Received: by bwz8 with SMTP id 8so2539402bwz.38
    for <exim-users@???>; Fri, 03 Jul 2009 02:17:37 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.239.145.200 with SMTP id t8mr91881hba.35.1246612657069; Fri, 
    03 Jul 2009 02:17:37 -0700 (PDT)
In-Reply-To: <2500B8B6-855D-45BF-B3C8-A7C98828F3E5@???>
References: <2500B8B6-855D-45BF-B3C8-A7C98828F3E5@???>
Date: Fri, 3 Jul 2009 11:17:37 +0200
Message-ID: <2c6e14da0907030217l621df60elc15c99b2a1261f4d@???>
From: Warren Baker <warren@???>
To: Jonathan Gilpin <jonathan@???>
X-Spam-Score: -1.5 (-) 
X-Spam-Status: No, score=-1.5 required=5.0 tests=AWL=1.066, BAYES_00=-1.5,
    EXIM_DRIVER=-1, EXIM_EXP_VAR=-1, HTML_30_40=0.374,
    HTML_MESSAGE=0.6 autolearn=ham version=3.1.8
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Content-Filtered-By: Mailman/MimeDel 2.1.9
Cc: exim-users@???
Subject: Re: [exim] allow duplicate messages
X-BeenThere: exim-users@???
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: A user list for the exim MTA <exim-users.exim.org>
List-Unsubscribe: <http://lists.exim.org/mailman/listinfo/exim-users>,
    <mailto:exim-users-request@exim.org?subject=unsubscribe>
List-Archive: <http://lists.exim.org/lurker/list/exim-users.html>
List-Post: <mailto:exim-users@exim.org>
List-Help: <mailto:exim-users-request@exim.org?subject=help>
List-Subscribe: <http://lists.exim.org/mailman/listinfo/exim-users>,
    <mailto:exim-users-request@exim.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Jul 2009 09:17:41 -0000


2009/7/3 Jonathan Gilpin <jonathan@???>

> Hi,
>
> I have been setting up a catchall system on my exim server.
>
> I have a mysql table with users in for example. postmaster@???
> and then the following setup:
>
> mysql_aliases:
> driver = redirect
> file_transport = address_file
> pipe_transport = address_pipe
> data = ${lookup mysql{SELECT destination FROM aliases,emailtable
> WHERE emailtable.email = aliases.destination and (aliases.address = '$
> {quote_mysql:$local_part}@${quote_mysql:$domain}' or aliases.address =
> '*@${quote_mysql:$domain}')}}
>
> This has an alias of *@domain.com to postmaster@??? to create a
> catchall...
>
> However, with this setup, duplicate mails are dropped.. so if someone
> sends an email to bob@???,eggs@??? then only one message
> is delivered with Two addresses on the Envelope-to field..
>
> How can I modify this so that two seperate messages are delivered to
> the Maildir? I need this method to work as I am delivering the
> messages via SMTP from the Maildir to Exchange Servers.
> <http://wiki.exim.org/>




How are you delivering from maildir to the exchange servers? Both
envelope-to addresses should be sent in the SMTP session when delivering to
the exchange server.


warren.