On Sun, 13 Nov 2005, Leonardo Boselli wrote:

> if (domain == otherdomain) {
>      if (userpart is in /etc/aliases1)
>         { deliver as if it be [EMAIL PROTECTED] ; }
>      }
> 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.
-- 
<[EMAIL PROTECTED]>   <[EMAIL PROTECTED]>   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}}

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to