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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.