I'm a bit confused what you're aiming to do here. If you want to limit the number of connections/messages by an outside sender to your mail gateway, then the setup in the "sender throttle" section is relevant, in particular, the settings:
SENDERTHROTTLE=1 SENDER_THROTTLE_SASL=0 SENDER_THROTTLE_HOST=1 QUOTA_EXCEEDED_TEMP_REJECT=1 SENDERMSGLIMIT=500 SENDERRCPTLIMIT=3600 SENDERQUOTALIMIT=250000000 SENDERTIMELIMIT=1h as well as several other related settings; here, a limit of 500 messages and a maximum aggregate total of 3600 recipeints (among all the sender envelopes) will trigger the throttle. And, yes, this can be done with the postfix "anvil" mechanism, but if you have multiple SMTP mail gateways, each one has to track limits with its own local postfix instance, while policyd will allow multiple SMTP agteways to access a common database and poll a combined set of values to base decisions on. On the other hand, if you want a particular recipient to only be able to receive/send N messages per T time interval, the settings in the "recipient throttle" section pertain. On Wed, 29 Aug 2007, am.lists wrote: > Recently, I was emailing a system admin at one of the major ISPs. He > told me that we were blocked for going over their throttle limits, > which he described as 10 simultaneous connections per IP and 100 > messages per hour. > > Now. I use policyd 1.8x and know that I can do the #/per hour part, > but how do I limit the number of inbound connections? Is that more at > the Postfix level? I run in a distributed environment (one primary > MySQL db), how do I enforce a connection limit across the environment? > > Thanks... > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > policyd-users mailing list > policyd-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/policyd-users > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ policyd-users mailing list policyd-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/policyd-users