Re: [Exim] quota question

Top Page
Delete this message
Reply to this message
Author: Avleen Vig
Date:  
To: tlabs
CC: exim-users
Subject: Re: [Exim] quota question
On Thu, Nov 20, 2003 at 04:41:42PM +0000, tlabs wrote:
> Hi list, a quick query on quota's.
> I have this in a transport:
> quota = ${lookup mysql{SELECT quota FROM mailusers WHERE user='$local_part' \
>          AND domain='$domain'}{$value}{20M}

>
> and a field called quota in a database.
> I have set the quota field to 20M.
> Is this quota field updated by exim?
> Or does exim just check that this field iand match it against the value in
> the statement above (20M).


What do you mean 'updated by exim'.
If you mean to ask 'how does Exim know how much space is used', then it
finds that out by checking the amount of space used when it tries to
deliver the mail.
If this number is greater than (in your case) 20Mb, then the mail
bounces.

--
Avleen Vig
Systems Administrator
Doing virtual domain hosting with Exim?
  Check out Virtual Exim: http://silverwraith.com/vexim
    (Click the banner, support development..)