[exim] Rewrite Sender/From field based on Reply-To

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Ascaris Lepis
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [exim] Rewrite Sender/From field based on Reply-To
Hello Exim-users,

I am quite new to exim but I have been told that exim might be the right solution for my problem.

I need to rewrite the Sender/From field of an outgoing Email based on the content of the Reply-To field.

I need this because I am orginally sending Emails from a Software which does under certain circumstances not allow to be set the sender address at mail creation. I can only control the content of the
reply-to field. So I want the Software to fill the reply-to-Field with the intended sender email-address and have exim put that email-address in the sender/from field in the email.

Does anyone have an idea if this is possible and if yes can tell me how I can do it.

I am thankful for any help in this case

Dirk


-- 
Best regards,
 Ascaris                          mailto:ascaris.lepis@gmail.comFrom graeme@??? Thu Nov 06 09:16:09 2008
Envelope-to: exim-users@???
Received: from boom.graemef.net ([82.113.154.29]:50002)
    by tahini.csx.cam.ac.uk with esmtp (Exim 4.69)
    (envelope-from <graeme@???>) id 1Ky0yD-0001uV-4x
    for exim-users@???; Thu, 06 Nov 2008 09:16:09 +0000
Received: from squonk.lut.ac.uk ([131.231.87.200])
    by boom.graemef.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69)
    (envelope-from <graeme@???>) id 1Ky0yC-0002CZ-ND
    for exim-users@???; Thu, 06 Nov 2008 09:16:05 +0000
From: Graeme Fowler <graeme@???>
To: exim-users@???
In-Reply-To: <C3A39B19-01D0-4DEB-9FA7-C487E2AA3C19@???>
References: <C3A39B19-01D0-4DEB-9FA7-C487E2AA3C19@???>
Content-Type: text/plain
Date: Thu, 06 Nov 2008 09:16:00 +0000
Message-Id: <1225962960.25515.2.camel@???>
Mime-Version: 1.0
X-Mailer: Evolution 2.22.3.1 (2.22.3.1-1.fc9)
Content-Transfer-Encoding: 7bit
X-graemef.net-scankey: boom.graemef.net 1Ky0yC-0002CZ-ND
    9adce40ee06a74a722c1c13310dc0f4d
X-Spam-Score: -0.8 (/)
X-Spam-Status: No, scoreÐ.8 required~0 tests÷LÐ.842, BAYES_00Ñ.5,
    DNS_FROM_SECURITYSAGE>513 autolearnO version^1.8
Subject: Re: [exim] exim4 with Ubuntu 8.04,
    Outgoing interface dont work    correctly
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Ÿsubscribe>
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Žlp>
List-Subscribe: <http://lists.exim.org/mailman/listinfo/exim-users>,
    <mailto:exim-users-request@exim.org?subject¥bscribe>
X-List-Received-Date: Thu, 06 Nov 2008 09:16:09 -0000


On Thu, 2008-11-06 at 21:25 +1300, Frank Simon wrote:
> i'm using exim4 on Ubuntu 8.04 and got the following problem. On my
> system i use an eth0 Interface with the IP Number A.B.C.176, and 10
> additional interaces (eth0:1 to eth0:11) with IP number A.B.C.1 to
> A.B.C.D.11


This is a general networking problem, not related to Exim at all.

Have you set a default gateway in the configuration of these aliased
interfaces?

It sounds like the network config is such that the last setup device
becomes the outgoing device for traffic destined for the default
gateway. Make sure the only interface definition with a GATEWAY entry is
the primary interface.

If you're not sure how to do that, or you're using Network Manager to
manage your interfaces, you should probably ask on an Ubuntu support
list.

Graeme