At 03:32 PM 8/14/2002 +0200, you wrote:
> > i needed this functionality also but couldn't find anything in James.
> > so i implemented myself in mailet by executing a "SUM(LENGTH(" query.
> >
> > i did this every 10th email received (or so) for the mail account in
>question.
>
>
>But how do you stop a new email in the server when the user has more than
>the authorized limit ?
>That's the question.....
once you perform the calculation and determine that an incoming email will
exceed your space limit, call
mail.setState(Mail.GHOST)
to consume the mail.
if you want, you can even send a reply to the sender first.
in other words, you have to write a mailet. :-)
>--
>To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>