[exim] more than one recipient in envelope-to, but only one …

Top Page
Delete this message
Reply to this message
Author: Pickel, Gerd - Betax-Systems GmbH \(IT\)
Date:  
To: exim-users
Subject: [exim] more than one recipient in envelope-to, but only one delivered to maildir?
Hi,

I run a box with Exim 4.63 on debian 'etch' for a customer.
Some MTAs, like a cold fusion of the customer himself or (my guess it's a novell server from the outside), are sending mail with the following header:

Return-path: <info@???>
Envelope-to: walter.seitz@???,
 walter@???
Delivery-date: Tue, 21 Aug 2007 12:24:28 +0200
Received: from localhost ([127.0.0.1])
    by mail.somedomain.com with esmtp (Exim 4.63)
    (envelope-from <info@???>)
    id 1INQuS-0005LQ-Cl; Tue, 21 Aug 2007 12:24:28 +0200
X-Virus-Scanned: Debian amavisd-new at mail.somedomain.com
Received: from mail.somedomain.com ([127.0.0.1])
    by localhost (dom3.h1.somedomain.com [127.0.0.1]) (amavisd-new, port
10024)
    with ESMTP id eSKzvtHZfGOV; Tue, 21 Aug 2007 12:24:22 +0200 (CEST)
Received: from m2.somedomain.com ([213.213.213.213] helo=mail.somedomain.com)
    by mail.somedomain.com with esmtp (Exim 4.63)
    (envelope-from <info@???>)
    id 1INQuL-0005L8-3y; Tue, 21 Aug 2007 12:24:21 +0200
Cc: walter.seitz@???
Content-type: text/plain
Date: Tue, 21 Aug 2007 12:24:00 +0200
From: info@???
Subject: Test Gerd
To: walter@???
Message-Id: <E1INQuL-0005L8-3y@???>


All messages are delivered local to a catch-all maildir of one user.
Now I checked the logs and I disvovered that these mails (like the above one) are only delivered once to the user I specified on this machine.
It seems to me that some MTAs put all the recipients in the 'Envelop-to' field and leave only one recipient in the 'To:' field.
Now the question is: how do I get the mails delivered to all recipients in the 'Envelop-to' field?
Or better is it possible for exim to make a 'copy' of these messages based on the 'Envelop-to' field and so generate multiple messages with different 'To:' fields?

Thanks in advance

Gerd