Re: [Exim] $home in filter when check_local_user is not set

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Miquel van Smoorenburg
CC: exim-users
Tárgy: Re: [Exim] $home in filter when check_local_user is not set
On Tue, 16 Jul 2002, Miquel van Smoorenburg wrote:

> However when I execute a filter, $home is not set, and I
> would like it to be (for logging, for example).


This is already a Wish List item.

> Now I see two solutions:
>
> - Add an option called 'local_user' that makes exim look at
> the value of that option instead of $local_user when
> check_local_user is set
>
> - Set $home to the value of transport_home_directory
> even for filters
>
> Both fixes are easy enough, in fact I already implemented
> the first one for fun.
>
> Philip, is this something that should be fixed, if so,
> which solution do you prefer and would you like a patch?


I was thinking along the lines of adding a home_directory option to the
router. The problem with transport_home_directory it that it is
specified that it doesn't get expanded until the transport is run. So it
can't really be used.




--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.