Re: Throttling outbound mail rates on a per-user basis

From: Wietse Venema (no email)
Date: Tue Nov 02 2004 - 10:50:58 EST


Cami:
> Wietse Venema wrote:
> > Wietse Venema:
> >
> >>Ralf Hildebrandt:
> >>
> >>>>Oct 28 16:33:04 localhost policyd: policy_array[6][10]:size=0
> >>>>
> >>>>The mua/mail client does not have to send the size..
> >>>
> >>>Indeed.
> >>
> >>Postfix could have another policy call at end-of-smtpdata. At that
> >>point Postfix has an estimate of the message content size.
> >
> > In that case, however, you can't do per-recipient accounting,
> > since mail can have multiple recipients, and the smtpd
> > by design does not store all recipients in memory.
>
> Unless i'm mistaken, this is for sender based accounting..
> So your original idea would work as intended..

Oh, but other people might want to use the same hooks to limit the
recipient rate (like, limit the number of non-bounces per unit
time, and limit the number of bounce messages per unit time).

        Wietse








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD