On Mon, 1 Dec 1997, Tom wrote:
>
> Yes, a dbm based system with two databases, "from", and "to". Upon
> receiving a valid SMTP "rcpt to", a counter in the "from" database is
> incremented for the sender address, and a counter in the "to" database is
> incremented for the recipient address.
>
> This means the "from" database will contain the number different
> addresses a sender has sent to, and the "to" database will contain the
> number of different messages a recipient has received.
>
> If the counters in either database exceed a certain limit, return a
> temporary error. Use a nice high limit that only a DoS would hit (5000
> should be fine for most sites).
>
> Simply delete the "from" and "to" databases once a day to reset the
> counters.
>
Or set a decay rate on the counters.Then you could have subtract X
from counter, or clear counter, every Y units of time. Set a load of
defaults and then set individual values for special cases counters.
Then again such fine adjustment is an over kill.
--Sean
--
*** Exim information can be found at
http://www.exim.org/ ***