Sebastian Tymków wrote:
> Hi,
> 
> I was looking for patch to policyd  that enable throttling per user but 
> per day.
> Now I see it can only block user for given time (ex. 1000 mails per hour 
> or per day).
> What I'm looking for is patch to send email per day , ex:
> 1000 mails per 19th of february and after this time database will be 
> cleaned up and
> another 1000 mails could be sent after midnight. Or maybe I'm wrong ?

Every night at 00:00, "TRUNCATE" your table. That way you will:

* keep your table at absolute minimal
* only keep transactions/records for the last 24 hours as you wish

Cami

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
policyd-users mailing list
policyd-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/policyd-users

Reply via email to