You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-dev@james.apache.org by Apache Wiki <wi...@apache.org> on 2006/09/29 12:41:10 UTC

[James Wiki] Trivial Update of "SmartOrSecondaryHost" by StefanoBagnara

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "James Wiki" for change notification.

The following page has been changed by StefanoBagnara:
http://wiki.apache.org/james/SmartOrSecondaryHost

------------------------------------------------------------------------------
  
  This page describes how to configure James to act as a bidirectional MX (receives mail on behalf of internal server{s} and relays mail out for same) without being a spam relay.  This is also known as a "smart host" configuration in some cicles. It could also be used to add a second MX for loading balancing or failover. The former solution is typical for sites that wish to prevent direct communications to internal systems thus:
  
- http://james.apache.org/images/james_config_smart_host.png
+ attachment:james_config_smart_host.png
  
  where a firewall is typically used between the Internet, MX and internal mail server.
  
@@ -17, +17 @@

  
  Load balancing/failover is achieved thus:
  
- http://james.apache.org/images/james_config_load_balance.png
+ attachment:james_config_load_balance.png
  
  where DNS records are used to identify muliple systems handling mail for the domain (although I suppose that one could use some sort of hardware based device if really pressed to do so). Load Balancing is accomplished by setting up an MX record for each of the mail servers with the same MX number, while failover requires that the failover server have a higher MX number.
  
@@ -45, +45 @@

  IN      MX      20 deedee.remotesite.org.
  }}}
  
- http://james.apache.org/images/james_config_secondary.png
+ attachment:james_config_secondary.png
  
  Of course, the approaches may be combined thus: