How to configure postfix to use multiple relay hosts in a failover manner?

Solution Unverified - Updated -

Issue

  • How to configure postfix to relay mails through multiple hosts. For example:

If relay host foo.example.com is not available, postfix should try the next relay host bar.example.com and so on..

Environment

  • Red Hat Enterprise Linux Server
  • Postfix-2.3.x

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.