Date: 2004-03-06T15:50:01
Editor: NoelBergman <[EMAIL PROTECTED]>
Wiki: Apache James Wiki
Page: SmartOrSecondaryHost
URL: http://wiki.apache.org/james/SmartOrSecondaryHost
More formatting fixes
Change Log:
------------------------------------------------------------------------------
@@ -9,7 +9,7 @@
MX DNS Example:
-IN MX 10 mx.apache.org.
+{{{IN MX 10 mx.apache.org. }}}
See below for example config.xml
@@ -21,25 +21,27 @@
Load Balancing MX DNS Example:
+{{{
IN MX 10 moe.apache.org.
-
IN MX 10 larry.apache.org.
-
IN MX 10 curly.apache.org.
+}}}
Failover MX DNS Example:
+{{{
IN MX 10 dexter.apache.org.
-
IN MX 20 deedee.apache.org.
+}}}
Likewise, setting a remote secondary mail server is done by creating a second
MX record in DNS that points to a remote server. This record must have a higher
MX number than the primary server to ensure that the primary server is used if
available. Should the primary server become inaccessible, the secondary server
will accept mail on the domain's behalf (spooling it until the primary server
comes back on line). Note: It is a good idea to make sure that DNS servers also
span sites to ensure that the mail will flow should the problem be network
oriented.
Seconday (remote) MX DNS Example:
+{{{
IN MX 10 moe.apache.org.
-
IN MX 20 deedee.remotesite.org.
+}}}
http://james.apache.org/images/james_config_secondary.png
@@ -47,15 +49,13 @@
Load Balancing MX DNS Example:
+{{{
IN MX 10 moe.apache.org.
-
IN MX 10 larry.apache.org.
-
IN MX 10 curly.apache.org.
-
IN MX 10 dexter.remotesite.org.
-
IN MX 20 deedee.remotesite.org.
+}}}
where moe, larry and curly provide a load balanced set of primary servers,
while dexter and deedee take over should ''all three'' primary servers become
inaccessible.