Postfix accepts all incoming mail but drops all outgoing mail

cn flag

We are running a Mailman server and for testing purposes I would like to configure postfix on that server to accept all incoming mail but delete any outgoing mail. How can I do this?

Note: "Postfix stop outgoing delivery but accept all incoming" is similar to what I am asking but rather than holding the outgoing mail I would like it deleted.

anx avatar
fr flag
Depends on your specific definition of "outgoing" (it has to be coming into your server at some point to qualify as that later on), but everywhere you can hold, you can also defer, reject or discard.

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.