Re: [exim] email adress of one user

Top Pagina
Delete this message
Reply to this message
Auteur: Steven Wayne
Datum:  
Aan: exim-users
Onderwerp: Re: [exim] email adress of one user
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" the@recipient
>
> Well. The recipient receives the message and the server is told to be
> "me@???".
>
> If I do it as root, the sender is told to be "root@???".
>
> I would like the sender adress to be
> "mihamina.rakotomandimby@???" 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:

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


Then, if your logon is "me" and you enter:
me: mihamina.rakotomandimby@???

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

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