Remove recipient when message is from specific domain

Imagine that you want to block message to one of your employee, but only if email is from specific domain. You cannot use Block Message action because it would block message also to other recipients. Better solution is to use Remove Envelope Recipient action which silently remove email addresses.

After quickly defining new rule, we go straight to the actions, choosing Remove Envelope Recipient action from menu.

Envelope recipient(s) can be deleted by wildcards, regular expression or plain email address. I’ll call my unlucky guy jeff at

Now Message Sender condition is needed, because we want to take down recipient only from messages which were sent from i.e.

So, after those two simple steps from now Jeff will never receive any email from

Maybe you have some other ideas how to make life more “happier” for your employees? Try MSH Traffic Policy, it’s powerful tool for Sendmail and Postfix.

To learn more visit MSH Traffic Policy website.

Łukasz is a software developer and owner of MSH Software company which builds email processing tools for Microsoft Exchange, Zimbra Collaboration Suite and Postfix. He specializes in server, desktop and web applications written in Java, .NET and C++.