Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 16th May 2008, 18:24
aadeusi aadeusi is offline
Junior Member
Join Date: May 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix Fallback Relay Configuration

could someone please give me step-by-step instructions on how to configure the fallback_relay option in Postfix?
I'm trying to set up a backup/secondary relayhost.
The instructions are somewhat confusing to me and I was hoping for some assistance.

Please see the details below:

++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++
fallback_relay (default: empty)
Optional list of relay hosts for SMTP destinations that can't be found or that are unreachable. With Postfix 2.3 this parameter is renamed to smtp_fallback_relay.
By default, mail is returned to the sender when a destination is not found, and delivery is deferred when a destination is unreachable.
The fallback relays must be SMTP destinations. Specify a domain, host, hostort, [host]ort, [address] or [address]ort; the form [host] turns off MX lookups. If you specify multiple SMTP destinations, Postfix will try them in the specified order.
Note: before Postfix 2.2, do not use the fallback_relay feature when relaying mail for a backup or primary MX domain. Mail would loop between the Postfix MX host and the fallback_relay host when the final destination is unavailable.
In main.cf specify "relay_transport = relay",
In master.cf specify "-o fallback_relay =" (i.e., empty) at the end of the relay entry.
In transport maps, specify "relay:nexthop..." as the right-hand side for backup or primary MX domain entries.
Postfix version 2.2 and later will not use the fallback_relay feature for destinations that it is MX host for.

++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++

Any advice would be greatly appreciated.
Reply With Quote
Sponsored Links


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail System Error - Returned Mail tristanlee85 General 16 16th March 2008 10:40
Postfix relay domains, transports and virtual maps.... veggieryan Server Operation 3 18th July 2007 20:17
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 16:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 16:36
postfix configuration - relay cpcpy Installation/Configuration 4 17th May 2006 09:30

All times are GMT +2. The time now is 14:20.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.