Re: [Exim] Quota

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Warren Baker
CC: exim-users
Subject: Re: [Exim] Quota
On Thu, 7 Sep 2000, Warren Baker wrote:

> Was the below problem sorted out ? I have checked the ChangeLog file and
> see the change made in 3.14 with regards to 'quota_size_regex', but we are
> experiencing the same problem using maildir with Exim 3.16. When
> sending a message more than half or larger than the quota then it rejects
> the message. But sending small messages are still accepted.


This is odd. The quota check is done before the incoming message is
written anywhere.

The reference to line 2241 in the message below is in the code for MBX
mailboxes, not maildir ones.

I can't remember doing anything about this. I have made a note to try to
reproduce the problem with both maildir and MBX mailboxes, but I won't
be able to do this for a while because I'm busy with something else just
now.


> >On 18 Jan 2000 michael@??? wrote:
>
> >> I think there is a bug in 3.12 src/transports/appendfile.c around line
> >> 2241. With maildir, the message is first delivered to tmp, then the
> >> new size is calculated. Unfortunately, the code compares the new size,
> >> which includes tmp, _plus the message size_ with the quota. As such,
> >> you can fill up your mailbox with small messages, but you can not get
> >> a mail larger than half your quota.


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