Re: [exim-dev] [PATCH] Implement redirect

Pàgina inicial
Delete this message
Reply to this message
Autor: Robert Millan
Data:  
A: exim-dev
CC: David Woodhouse
Assumpte: Re: [exim-dev] [PATCH] Implement redirect
On Thu, Jun 29, 2006 at 04:55:18PM +0100, Philip Hazel wrote:
>
> redirect_special:
>   driver = redirect
>   check_local_user
>   require_file $home/.redirect
>   condition = ${a hairy condition that reads the file, picks the domain
>     out of the address, and checks it against +local_domains for not 
>     being local}  
>   data = :fail: Not local, try ${readfile{$home/.redirect}}   


IIUC, this will generate a bounce, not a delivery-time status code. It is not
possible to do this outside the acl section is it?

Unfortunately, when working in the ACL section, I miss the check_local_user
facility. Looks like a no-go. Maybe I implemented smtp_code overrides in the
wrong place.. :/

Or am I missing something?

--
Robert Millan