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

From: Cami (no email)
Date: Tue Nov 02 2004 - 06:38:30 EST


Ralf Hildebrandt wrote:

> Yes, I think it is.
> A rate limiting system that disallows a user to send more than
>
> (#mails * size) per timeunit

The mails + timeunit would be definable ofcourse.
How would you land up getting the mail size?

Oct 28 16:33:04 localhost policyd:
policy_array[6][0]:request=smtpd_access_policy
Oct 28 16:33:04 localhost policyd: policy_array[6][1]:protocol_state=RCPT
Oct 28 16:33:04 localhost policyd: policy_array[6][2]:protocol_name=SMTP
Oct 28 16:33:04 localhost policyd:
policy_array[6][3]:client_address=127.0.0.1
Oct 28 16:33:04 localhost policyd: policy_array[6][4]:client_name=localhost
Oct 28 16:33:04 localhost policyd: policy_array[6][5]:helo_name=.
Oct 28 16:33:04 localhost policyd:
policy_array[6][6]:sender=
Oct 28 16:33:04 localhost policyd:
policy_array[6][7]:recipient=
Oct 28 16:33:04 localhost policyd: policy_array[6][8]:queue_id=
Oct 28 16:33:04 localhost policyd:
policy_array[6][9]:instance=25d2.4181031c.0
Oct 28 16:33:04 localhost policyd: policy_array[6][10]:size=0

The mua/mail client does not have to send the size..

> would surely be interesting.

This is really easy to do..

Cami








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD