Re: [exim] How would I do this? (reading file owner)

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Dave Evans
Dátum:  
Címzett: David Woodhouse
CC: exim users
Tárgy: Re: [exim] How would I do this? (reading file owner)
On Thu, Oct 19, 2006 at 08:50:28AM +0100, David Woodhouse wrote:
> On Wed, 2006-10-18 at 19:45 -0700, Marc Perkel wrote:
> > I need to set the user in the transport. What I need to set it to is to
> > match the user to the owner file that I'm writing to. Is there a command
> > I can run in the transport that will read the owner of the file and
> > write to the file being the same owner?
>
> user = ${extract{uid}{${stat:FILE}}}


Damn, that's sooooo much better than my version it's untrue. I think you win
:-)

--
Dave Evans
Power Internet

PGP key: http://powernet.co.uk/~davide/pgpkey