Re: [exim] Conditionally setting transport_home_directory to…

Top Page
Delete this message
Reply to this message
Author: Mike Brudenell
Date:  
To: exim-users
Subject: Re: [exim] Conditionally setting transport_home_directory to something special/the default
Greetings -

On 9 Nov 2007, at 18:49, Mike Brudenell wrote:

> What am I missing?
> Is there an easier way to set the home directory in both router and
> transport?


Using

     exim -d+all -N pmb1@??? < /tmp/testmsg


seems to suggest that the value to the right of the "=" for the
transport_home_directory is NOT expanded in the router (despite the
dagger in the Specification suggesting that it is). Instead it
appears to get precisely the value typed, and the expansion deferred
until the transport starts.

I just can't seem to work out how to:

  1. If the 'special' home directory exists for a user select that
     as the home for both the router and transport, else


2. Use the home directory returned by check_local_user

Any thoughts on how to achieve this?

Cheers,
Mike B-)

--
The Computing Service, University of York, Heslington, York Yo10 5DD, UK
Tel:+44-1904-433811 FAX:+44-1904-433740

* Unsolicited commercial e-mail is NOT welcome at this e-mail address. *