Re: Message rate limit

From: Wietse Venema (no email)
Date: Mon Dec 01 2003 - 15:25:39 EST


Felipe Garcia:
> Wietse Venema wrote:
> >Loic Minier:
> >>Wietse Venema <> - Sun, Nov 30, 2003:
> >>
> >>>I do not understand why this would help. If the server closes the
> >>>connection then the client would connect again. This is how Postfix
> >>>already implements connection caching in the LMTP client.
> >>>
> >> I thought I could limit smtp connections per second with the recent
> >> smtpd_client_connection_count_limit. If there's no more than a message
> >> in a connection, I can limit messages/s too... ;)
> >
> >The correct solution is to limit the number of mail from commands
> >per unit time, not to limit the number of deliveries per session.
> >
> but since this is not avaliable, cutting the connnection after each mail
> will cause a new connection and thus upping the connection count.. but
> each new mail could also up the count for connections and check this at
> every MAIL TO command and then close the connection... just my 2 cent ..

The correct solution is to add code that limits the number of mail
from commands per unit time, not to add code that limits the number
of deliveries per session.

        Wietse








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD