Re: [exim] Must $home be prepended to relative directories i…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Tony Finch
Datum:  
To: Magnus Holmgren
CC: exim-users
Betreff: Re: [exim] Must $home be prepended to relative directories in Exim filters?
On Wed, 10 May 2006, Magnus Holmgren wrote:

> I'm a bit disappointed that "[w]hile processing an Exim filter, a relative
> path such as folder23 is turned into an absolute path if a home directory is
> known to the router". That means I can't make use of $address_file in any
> meaningful manner, unless I set router_home_directory to "", but that has
> other implications, for example that I can't set file = $home/.forward for
> the userforward router ($home is usually, but not
> necessarily, /home/$local_part).
>
> Now I have to repeat "Maildir/" for every save command.


Does setting router_home_directory = $home/Maildir do what you want?

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}