Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to apply per-hour mail limits using policyd in CentOS. I want to restrict each email account on the server to only be able to send out a maximum of 50 mails per hour. How can I do that?

share|improve this question

I realize this question is old, but it may help others that stumble upon it. Use Quotas!

Just define a quota linked to your default policy that tracks the sender over a period of 3600 seconds,

Track: Sender:user@domain
Period: 3600

And then apply a limit to said quota:

Type: MessageCount
CounterLimit: 50
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.