Re: [courier-users] Email sending limits
Brought to you by:
mrsam
From: Eduardo R. <tr...@mu...> - 2006-03-31 22:45:26
|
On Thu, 2006-03-30 at 17:34 +1000, Mark Constable wrote: > Can anyone suggest the best way to impose outgoing > limits for sending out mail on a per user level ? Yes (I don't know if is 'the best' though). Check this: http://www.multitel.com.uy/eroldan/code/butcher.py # This filter only works with SMTP authenticated users. I designeed it to # control the users of the ISP I work. All our users do authenticated SMTP, # no relay is allowed without authentication. If you allow relaying without # autentication this filter can't track user's usage and becomes futile. # The filter can enforce: # For users: # maxTransferSize TransferSize = MessageSize * RecipientCount # maxTotalTransferSize The max total sum of transfers size permitted # Each transfer sum to this counter. # maxTotalRcptCount The max total sum of recipients permitted # Each transfer sum to this counter # maxRcptCount The max recipient count per invocation # maxMessageSize The max message size per invocation # maxMessagesByInterval The maximum number of messages permitted # to be injected for INTERVAL seconds # # For domains: # maxTotalTransferSize TransferSize = MessageSize * RecipientCount # maxTotalRcptCount The max total sum of recipients permitted |