Re: [exim] Create aliases before rewrite domain

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Alexandre
Datum:  
To: Jeremy Harris, exim-users
Betreff: Re: [exim] Create aliases before rewrite domain
Thank you very much Jeremy. Your configuration works perfectly!

Exemple :
---
smarthost_test_fr:
         domains = test.fr
         driver = manualroute
         transport = remote_smtp
         route_list = * smtp.test.com:smtp2.test.com
---


I added a file in 999_test_router in /etc/exim4/conf.d/router and
aliases works too.

Thank you.

Alexandre


On 19/10/14 22:55, Jeremy Harris wrote:
> On 19/10/14 21:46, Alexandre wrote:
>> Thank you Jeremy. Would you have a sample configuration?
>>
>>
>> I test this configuration but I do not understand how to operate it.
>>
>> ---
>> smarthost_test:
>
>>     condition = ${if eq {${lc:$sender_address_domain}} {test.fr} {true}
>> fail }

>
> Replace that condition with
>
>    domains = test.fr

>
>>     driver = manualroute
>>     transport = remote_smtp
>>     route_list = "test.com:test2.com"

>
> route_list = * test.com:test2.com
>
>