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: [EMAIL PROTECTED]

 

When typing : 

 

echo "mycontent" | mail -s "mysubject" [EMAIL PROTECTED] 

 

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

 

Return-path: <[EMAIL PROTECTED]>

Envelope-to: [EMAIL PROTECTED]

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

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

            (envelope-from <[EMAIL PROTECTED]>)

            id 1Gjbuh-0002Xu-Gc

            for [EMAIL PROTECTED]; Mon, 13 Nov 2006 14:31:51 +0100

To: [EMAIL PROTECTED]

Subject: mysubject

Message-Id: <[EMAIL PROTECTED]>

From: root <[EMAIL PROTECTED]>

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

 

mycontent

 

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

 

[EMAIL PROTECTED] "${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/

Reply via email to