Re: [Exim] Per User Quota

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Tamas TEVESZ
Dátum:  
Címzett: Dan Egli
CC: exim-users
Tárgy: Re: [Exim] Per User Quota
On Wed, 24 Oct 2001, Dan Egli wrote:

> That works. But I really don't like leaving quotas in a plain text file. If
> at all possible, I'd like to move them to a db database. But I still don't
> know enough about exim to create a config file that would read a db
> database.


> > quota = ${extract{2}{:}{${lookup{${local_part}}lsearch{/etc/exim/users}}}}


this is really rtfm and half a minute worth of thinking after that.

quota = ${lookup mysql{select quota from table where field='${quote_mysql:local_part}'}{$value}10M}

and that even takes care of a default quota, for free.

--
[-]