On Mon, Mar 18, 2002 at 09:38:25AM +0000, Philip Hazel wrote:
> On Fri, 15 Mar 2002, Roman Minakov wrote:
>
> > At the check_rcpt ACL exim should check per-user quota and answer 550 BEFORE
> > the DATA command sent. At least it prevents to sending of gigabytes
> > unwantable mail thru the net.
>
> The problem with this is knowing when to check a quota and what the
> value of the quota is. Also, at RCPT time, you can't check the real size
> of the message, only the size that was given (maybe) in the MAIL
> command.
>
> The following item is already on the Exim 4 wish list:
>
> ---------------------------------------------------------------------------
> (3) 01-Jan-02 U Test for over-quota at SMTP time
>
> This is a hard one, because the only way to test for over quota is to try to
> deliver a message, certainly if system quotas are being used. And also, the
> only available size at RCPT time is the SIZE option, though of course the test
> could be run at DATA time. I think maybe we leave this one to an external
> program, and require people to use ${run} to access the data. Let someone else
> figure out how to extract the current mailbox size!
> ---------------------------------------------------------------------------
Hi,
How we do it is to have our in-house MDA keep a DBM database of addresses which
are over quota and get Exim to check that, so it can :defer: a message at RCPT
time.
We allow people to have one message delivered which puts them over quota, and then
start :defer:ing.
Yours,
Ollie
--
Oliver Cook Systems Administrator, ClaraNET
ollie@??? 020 7903 3065