Score:0

Block outgoing mails in postfix after a certain number

bj flag

I am running a Postfix on a Ubuntu 20.04 server. I am looking for a way to count outgoing mails to a domain or mailbox and block outgoing mails if a certain number is reached.

Let's take the following example: I have send 100 mails in the last 20 minutes to the mailbox [email protected]. This is to much or something went wrong. I need to block all outgoing mails to this mail address or domain.

I have already looked at postfwd. But I don't think it suits my requirements. Are there other tools or functions of Postfix that I don't know about?

kind regards

Nikita Kipriyanov avatar
za flag
Use policy daemons, like [postfwd](http://postfwd.org/doc.html) with `rate` action.
I sit in a Tesla and translated this thread with Ai:

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.