How to configure postfix to relay only to a specific email address?

Solution Verified - Updated -

Issue

  • How to configure postfix in a way that clients in network 10.0.200.0/24 can only relay emails to user@example.com while clients in 10.0.223.0/24 can have unrestricted relaying?
  • How to screen outgoing mail with Postfix
  • How to allow mail to be sent to only specific domains using Postfix

Environment

  • Red Hat Enterprise Linux 5.7
  • postfix-2.3.3-2.3.el5_6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content