Re: [exim] Forward root mails to external address

Top Page
Delete this message
Reply to this message
Author: John Burnham
Date:  
To: 'go boni'
CC: 'exim-users@exim.org'
Subject: Re: [exim] Forward root mails to external address

>
> Thanks for the answer.



Please reply to the list and not just me.
>
>
>
> exim4 -d -bt root@???
>
> Return lot of stuff - I did not found nothing relevant.
>


Yes, but posting that stuff here would probably have given us a clue to how your Exim is configured.


> Now my /etc/email-addresses file includes the line
>
> root: user@???
>
> The output of the command "exim -brw root" is:
>
> sender: user@???
>
>     from: user@???

>
>       to: root@???

>
>       cc: root@???

>
>      bcc: root@???

>
> reply-to: user@???
>
> env-from: user@???
>
> env-to: root@???
>
> All if fine else: To, CC, BCC.
>
> Again, I want to change the 'root' part to 'user'
>


No. That's how addresses are rewritten - routing of emails is not done by rewriting.
John