On 09/08/10 19:22, Diego Lima wrote: > Hello all, > > I'm trying to figure out how to set limits to mail sent to certain > domains. I tried looking at the Quotas settings but I couldn't really > figure out how to do that. What I wanted to do is the following (for > example): > > - Limit messages sent to domain a.com to 3000 emails/hour > - Limit messages sent to domain b.com to 4500 emails/hour > > I've tried to add a quota linked to the Default Outbound policy using > the "Recipient:@domain" track and "REJECT" veridict, with a period of > 3600. Then I added a rule with the type "MessageCount" and the counter > limit set to "2" (for testing), and made sure both were not disabled. > But I still can send as many messages to a domain as I want after > doing that. So, is that even possible to do, even without limiting > messages using specific domains?
You need to firstly enable full debugging and watch the output and include that in your mail, this will tell us what version you are running and how policyd is resolving your policies. Secondly you need to include your postfix config and postfix logs so we can see if its setup properly and you're not allowing traffic before your policy check. Regards Nigel
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users
