Re: [exim] Re : (part 2) aliasing of another domain.

Pàgina inicial
Delete this message
Reply to this message
Autor: Tony Finch
Data:  
A: Leonardo Boselli
CC: exim-users
Assumpte: Re: [exim] Re : (part 2) aliasing of another domain.
On Sun, 13 Nov 2005, Leonardo Boselli wrote:

> if (domain == otherdomain) {
>      if (userpart is in /etc/aliases1)
>         { deliver as if it be userpart@localdomain ; }
>      }
> else
>     { deliver using remote smtp ; }


In the routers section:

otherdomain_local:
driver = redirect
domains = otherdomain
local_parts = lsearch;/etc/aliases1
data = $local_part_data

otherdomain_remote
driver = manualroute
domains = otherdomain
data = other.domain.smart.host

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}