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

From: Ralf Hildebrandt (no email)
Date: Tue Nov 02 2004 - 06:57:27 EST


* Cami <>:

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

If the mail is being sent using ESMTP, then it's available. If not, we
cannot use that :)

> 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..

Indeed.

-- 
Ralf Hildebrandt ()          
http://www.arschkrebs.de/postfix/                Tel. +49 (0)30-450 570-155
It is better to live rich than to die rich.         -- Samuel Johnson







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD