[Re-reading the message I see I have misunderstood...]
On Tue 24 Jan 2006 10:53:13 GMT , Graeme Fowler <graeme@???> wrote:
>> 1. Is there a way to check quota on mailbox at smtp_data time.
>
> Yes. This is well documented, see:
> http://www.exim.org/exim-html-4.60/doc/html/spec.html/ch26.html#id2631521
Actually, this is well documented _at the time of local delivery_ -
which is, of course, after the DATA phase.
I'm not sure how you could do this as part of an ACL. Surely you'd be
better letting the transport do its' job, keeping hold of the message
until the quota is below the limit or bouncing the message after a set
time according to your retry rules?
Graeme