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

Top Page
Delete this message
Reply to this message
Author: Tim Jackson
Date:  
To: exim-users
Subject: 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