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

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Magnus Holmgren
Datum:  
To: exim-dev
Betreff: Re: [exim-dev] [PATCH] Implement redirect
On Saturday 01 July 2006 23:21, Robert Millan took the opportunity to write:
> 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.


No, as long as no_verify isn't set, the router data will be processed as part
of recipient verification, so the ":fail:" will cause a 550 status code.
However, for it to work, the exim user must be able to read the .redirect
file.

-- 
Magnus Holmgren        holmgren@???
                       (No Cc of list mail needed, thanks)