Re: [Exim] Per User Quota

Etusivu
Poista viesti
Vastaa
Lähettäjä: Tamas TEVESZ
Päiväys:  
Vastaanottaja: Dan Egli
Kopio: exim-users
Aihe: 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.

--
[-]