Re: [exim] router_home_directory isn't work?

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Alexander A. Kapralov
Datum:  
To: exim-users
Betreff: Re: [exim] router_home_directory isn't work?
> Hello.
>
> the router:
> userdb_forward:
>   driver                = redirect
>   domains               = +local_domains
>   address_data          = GET_ADDRESS_DATA
>   check_local_user      = false
>   no_verify
>   allow_filter
>   filter_prepend_home   = true
>   user                  = ${extract{uid}{$address_data}}
>   no_expn
>   check_ancestor
>   file                  = ${extract{home}{$address_data}}/.forward
>   router_home_directory = ${extract{home}{$address_data}}/
>   directory_transport   = address_directory
>   pipe_transport        = address_pipe
>   reply_transport       = address_reply

>
> were .forward is:
> # Exim filter
> save Maildir/
>
> exim -d -bt :
> ....................
> userdb_forward router generated //Maildir/
> pipe, file, or autoreply
> errors_to=NULL transport=address_directory
>
> routed by userdb_forward router
> envelope to: test@???
> transport: <none>
> Considering //Maildir/
> test@??? -> //Maildir/
> transport = address_directory
> I don't no why ${exctract dosen't work in "router_home_directory". In
> "file" it work fine.
> exim-4.64-4


Hello all.
I solve my problem by using this configuration.

router_home_directory = ${extract{home}{GET_ADDRESS_DATA}}

But I don't understand why variable $address_data empty in
router_home_directory?