Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users
Problem Rewriting 'Received: from...' and 'From:...'
 

Index | Next | Previous | View Flat


kagan at online

Nov 13, 2006, 6:58 AM


Views: 802
Permalink
Problem Rewriting 'Received: from...' and 'From:...'

Hello,



the following question seems to be of interest for a lot of people, as I
found many similar questions in the net - but until now I couldn't find a
solution to the problem.



I want to change the senders identity completely - when user root sends an
email, addresses are rewritten - ok - but if you take a nearer look at the
mail, you'll find out very fast who's the real sender of the mail.



Here is an example:



Content of file /etc/email-addresses:



root: john.doe[at]mydomain.de



When typing :



echo "mycontent" | mail -s "mysubject" john[at]mydomain.de



at the prompt as user root local user 'john' receives the following mail:



Return-path: <john.doe[at]mydomain.de>

Envelope-to: john[at]mydomain.de

Delivery-date: Mon, 13 Nov 2006 14:31:52 +0100

Received: from root by mydomain.de with local (Exim 4.63)

(envelope-from <john.doe[at]mydomain.de>)

id 1Gjbuh-0002Xu-Gc

for john[at]mydomain.de; Mon, 13 Nov 2006 14:31:51 +0100

To: john[at]mydomain.de

Subject: mysubject

Message-Id: <E1Gjbuh-0002Xu-Gc[at]mydomain.de>

From: root <john.doe[at]mydomain.de>

Date: Mon, 13 Nov 2006 14:31:51 +0100



mycontent



In the exim.conf file I put the following rewriting-rule:



*@+local_domains "${lookup{${local_part}}lsearch{/etc/email-addresses}\

{$value}fail}" Eh



MY QUESTIONS:



What can I do if I absolutely don't want to see the 'root' in the 'Received:
from ...' and 'From: ...' lines?



Or even more important - is the solution of this problem within the range of
possibilties of exim?



(System is Debian Sarge, Exim4)

--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Subject User Time
Problem Rewriting 'Received: from...' and 'From:...' kagan at online Nov 13, 2006, 6:58 AM
    Re: Problem Rewriting 'Received: from...' and 'From:...' mw at LF Nov 15, 2006, 12:58 PM
        Re: Problem Rewriting 'Received: from...' and 'From:...' kagan at online Nov 15, 2006, 1:58 PM
            Re: Problem Rewriting 'Received: from...' and 'From:...' mw at LF Nov 16, 2006, 2:35 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.