[exim] How redirect mail from recipient root to real E-mail?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Leonid Shulov
Date:  
À: exim-users
Sujet: [exim] How redirect mail from recipient root to real E-mail?
Hi UG,

How redirect mail from root to root -> to lshulov@??? <mailto:Leonid.Shulov@entropic.com.>?
When I send *mailTest.tx*t:
To: root
From: root
Subject: Exim4 and SMTP test.

         Test work.
*
/etc/aliasses*:
root: lshulov@??? <mailto:Leonid.Shulov@entropic.com.>
 <mailto:Leonid.Shulov@entropic.com>

> exim4 -i -t < mailTest.txt


changed only sender but not recipient:

2007-09-30 11:51:36 1IbvSa-000273-CU <= lshulov@??? U=root P=local S=398
2007-09-30 11:51:40 1IbvSa-000273-CU => root@??? R=smarthost T=remote_smtp_smarthost H=<SMTP server> [192.168.xxx.xxx]
2007-09-30 11:51:40 1IbvSa-000273-CU Completed

How can I replace root@??? <mailto:root@entropic.com> to lshulov@??? <mailto:Leonid.Shulov@entropic.com.>?

exim4 configuration is:
Split configuration into small files?
    <Yes>
General type of mail configuration:
    mail sent by smarthost; no local mail
System mail name:
    arabellasw.com
IP-addresses to listen on for incoming SMTP connections:
    127.0.0.1
Other destinations for which mail is accepted:


Visible domain name for local users:
    arabellasw.com
IP address or host name of the outgoing smarthost:
    <SMTP server>
Keep number of DNS-queries minimal (Dial-on-Demand)?
    <No>