Re: [exim] exim4: setting $home in a .forward-file

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Paul Diedericks
Datum:  
To: exim-users
Betreff: Re: [exim] exim4: setting $home in a .forward-file
Thomas Pircher <tehpeh <at> gmx.net> writes:

>
> Hi,
>
> We want to allow our virtual users to have a .forward file. But the
> variable $home is expanded to the empty string, because I can't set the
> "check_local_user" option for virtual users.
>
> In exim3 I used the option "file_directory", but in exim4 it
> disappeared, and "transport_home_directory" apparently doesn't work.
>
> Has anybody a idea how can I manage to set $home?


I found that setting the directory option on my transport also set the $home
variable for the user's filter, like so:

address_file:
driver = appendfile
delivery_date_add
envelope_to_add
return_path_add
maildir_format
directory = ${lookup mysql{MYSQL_Q_LOCALMAILACCOUNT_DIR}}