Re: [exim] Rejecting over quota at RCPT time - revisited

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Robert Blayzor
Fecha:  
A: exim-users@exim.org
Asunto: Re: [exim] Rejecting over quota at RCPT time - revisited
On Nov 29, 2012, at 11:03 AM, Todd Lyons <tlyons@???> wrote:
> Dammit. I'm right back where we were before I started experimenting.
>
> ...Todd



I'm actually in the same situation here. Without being able to trap the first over condition hit by Exim there is no way to just check people who are over quota, you have to run the expensive quota computation for each RCPT you get.

I was hoping that somehow I could trap an over quota condition in Exim and use a string expansion based on this. I could then mark the account as over quota and to only run the expensive quota recalculation after a certain time or some other changing condition. But without that, I can't tell who is over quota and who isn't unless you check it for everyone at RCPT time, which I think is too costly of an operation and you end up actually checking quotas twice; once at RCPT time using your own method and then Exim will check it at delivery.

--
Robert Blayzor
INOC, LLC
rblayzor@???
http://www.inoc.net/~rblayzor/