On Thu, 2004-05-20 at 16:29, Peter Holm wrote: > Hi, > > is it an unrealistic or unintelligent approach to limit the amount of > mail that can be sent with a server? > > Limiting the possibility to send mail to only once per minute looks to > me like a very userfriendly AND abuse-preventing restriction, that > could save many admins lots of trouble. > > Is there a nice way to do this with courier? I know about "maxrcpts" > in the bofh-file, but this is not quite that what I want. I want to > prevent abuse of a server by an authenticated user. users should be > only able to send 1 mail per minute. In combination with "maxrcpts" > this could make a very maintanance-friendly mailsystem as the admin > never has to be afraid of (registered) users that are abusing your > system. > > Please tell me, if I am an complete idiot of thinking such stupid > things or if the idea is of interest to anybody and how ot could be > implemented.
I think that could be done. With PythonFilter or Courier::Filter (Perl) you could track the number of sended messages, recipients, whatever, store them in a db file and use that to do the calculations and allow/reject the message. ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
