Re: [Exim] Wishlist for "stat" expansion item

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Dean Brooks
CC: exim-users
Sujet: Re: [Exim] Wishlist for "stat" expansion item
On Sat, 14 Dec 2002, Dean Brooks wrote:

> Proposed syntax would be something like:
>
>     ${stat{filename}{lookup-value}}

>
> where the lookup-value would be an enumerator for one of the stat() values.


Noted, but I think I would prefer

      ${stat:filename}


where the result is a sequence of x=y values that you can process with
extract.

> I've been trying to figure out a way to do the above router without
> the stat function, and it's the only way I can think of to do it.
> This would allow a way to do quota-checks at ACL time by way of
> recipient verification.


... which is something that has been on the Wish List for quite some
time! Thanks for suggesting a possible way of doing it that is pretty
simple.

Of course, the stat will work only if the file is stattable by the exim
user.

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