Re: [Exim] %1@domain.com forwarding

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Tim Jackson
Data:  
Para: exim-users
Assunto: Re: [Exim] %1@domain.com forwarding
On Wed, 30 Jun 2004 14:26:37 +0100 I wrote:

> domain_wildcard_redirect:
> driver = redirect
> local_parts = %1
> data = $parent_local_part@$domain


Following up on my own post, a slight variation which stops the router
giving an error if you actually try to route to a user called "%1@domain"

domain_wildcard_redirect:
driver = redirect
local_parts = %1
data = ${if eq{$parent_local_part}{}{}{$parent_local_part@$domain}}

Slightly clumsy, but it works.

Tim