OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Throttling outbound mail rates on a per-user basis

From: Wietse Venema (wietseporcupine.org)
Date: Wed Nov 03 2004 - 06:36:46 CST


adi:
> On Wed, Nov 03, 2004 at 12:51:03PM +0100, Magnus B?ck wrote:
> > If ESMTP is used and the client tells the size of the message at MAIL
> > FROM time, the message size is known when each recipient is accepted.
> > If the size is not known until after end of DATA, individual recipients
> > cannot be rejected.
>
> if the policy daemon can remember the total size for the respective
> recipient which is already overquota on the last session, then it
> could be rejected on the next session, right? :-)
>
> it doesn't have to be instant ...

There may be simpler ways to stop mail for over-quota mailboxes,
than counting the size of individual messages.

For example, slowly scan all mailboxes and update an SMTPD access
map, or fix delivery agents so they can report an over-quota
condition to an access map or database, or a combination of
both (one to raise the over-quota flag, the other to reset it).

        Wietse