On Thu, Jun 02, 2005 at 02:12:01PM +0200, Rakotomandimby (R12y) Mihamina wrote:
> Hi.
> 
> I'm using Exim 4.34
> 
> When I send an email through the command line, I use to do :
> 
> cat the_message.txt | mail -s "the subject" [EMAIL PROTECTED]
> 
> Well. The recipient receives the message and the server is told to be
> "[EMAIL PROTECTED]".
> 
> If I do it as root, the sender is told to be "[EMAIL PROTECTED]".
> 
> I would like the sender adress to be
> "[EMAIL PROTECTED]" when the mail is sent by "me".
> 
> But I would like the things to stay the way they are for the other users.
> 
> I need that because I'm going to make procmail recipes that send email to
> the sender when he top-posts, or send HTML email. My shown email should be
> my working email. Not the local one, because i'm whitelisted by some
> correspondants, and I dont want people to use many adresses to join me.
> 
 
I don't understand this yet, I must buy the Exim book, but the Debian
install of Exim has the following in it's exim.conf file at the top
of the rewrite section:

[EMAIL PROTECTED] ${lookup{${local_part}}lsearch{/etc/email-addresses}\
                   {$value}fail} Ffrs

Then, if your logon is "me" and you enter:
me: [EMAIL PROTECTED]

in /etc/email-addresses you should get the result you want.

Steven.
-- 
 .''`.
: :'  :
`. `'`
  `-

-- 
## 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