Score:0

Postfix Rate limiting according to a particular user

in flag

So this question is again on the table. I have tried to get my answer from forums documents but I wasn't able to find the desired answer.

So, Here is my question I have created a mail server with postfix now what I want is to create quotas for a particular user to send only located number of mail I mentioned. So, for example, if I had 3 users

User1@domain.com 30mails

user2@domain.com 60mails

user3@domain.com 30mails

So these should be the rules and after users send the number of mails they are assigned they should be blocked for a certain time which also I can mention.

Thank you

Score:0
in flag

I have fixed the issue with this rule in postfwd:

id=1; sender=~/random@domain.org/; action=rate(sender/10/300/REJECT rejected for $$sender)
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.