Re: [Exim] 550 Administrative prohibition

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Nathan Ollerenshaw
CC: exim-users
Subject: Re: [Exim] 550 Administrative prohibition
On Sun, 15 Aug 2004, Nathan Ollerenshaw wrote:

> On Aug 14, 2004, at 12:23 AM, Philip Hazel wrote:
>
>> I can forsee problems with caching "over quota" errors. The user
>> notices, cleans up her mailbox, but still can't receive any mail
>> because
>> of the cache...
>
> The correct thing to do, I guess, would be to at the very least, always
> stat() the maildirquota file before you return a 'over quota' response
> and check the last modified time. You should avoid that situation then.


You are taking a narrow view. Not every Exim is configured to use
maildirquota; not every Exim is configured to use maildir; not every
Exim has Exim quota checking enabled; some systems rely on system
quotas; ...

In other words, the whole thing is highly configuration dependent.
That's why I'd rather export the decision to some other program.


--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book