summaryrefslogtreecommitdiff
path: root/pages/docs/platform
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2016-01-25 10:20:32 -0800
committerelijah <elijah@riseup.net>2016-01-25 10:20:32 -0800
commit1a4e586a168ca044625865d3986790364985061d (patch)
tree564c064a27919653097ca530108220ad59fc2184 /pages/docs/platform
parent93832e2d2a44d37a23182a1e7802152750110235 (diff)
update mx config info
Diffstat (limited to 'pages/docs/platform')
-rw-r--r--pages/docs/platform/services/mx.md25
1 files changed, 24 insertions, 1 deletions
diff --git a/pages/docs/platform/services/mx.md b/pages/docs/platform/services/mx.md
index 79f1c4e..0917389 100644
--- a/pages/docs/platform/services/mx.md
+++ b/pages/docs/platform/services/mx.md
@@ -9,4 +9,27 @@ Topology
Configuration
--------------------
-There are not values that should be configured for `mx` nodes. \ No newline at end of file
+### Aliases
+
+Using the `mx.aliases` property, you can specify your own hard-coded email aliases that precedence over the aliases in the user database. The `mx.aliases` property consists of a hash, where source address points to one or more destination addresses.
+
+For example:
+
+`services/mx.json`:
+
+ "mx": {
+ "aliases": {
+ "rook": "crow",
+ "robin": "robin@bird.org",
+ "flock": ["junco@bird.org", "robin", "crow"],
+ "chickadee@avian.org": "chickadee@bird.org",
+ "flicker": ["flicker@bird.org", "flicker@local.delivery"]
+ }
+ }
+
+This example demonstrates several of the features with `mx.aliases`:
+
+1. alias lists: by specifying an array of destination addresses, as in the case of "flock", the single email will get copied to each address.
+1. chained resolution: alias resolution will recursively continue until there are no more matching aliases. For example, "flock" is resolved to "robin", which then gets resolved to "robin@bird.org".
+1. virtual domains: by specifying the full domain, as in the case of "chickadee@avian.org", the alias will work for any domain you want. Of course, the MX record for that domain must point to appropriate MX servers, but otherwise you don't need to do any additional configuration.
+1. local delivery: for testing purposes, it is often useful to copy all incoming mail for a particular address and send those copies to another address. You can do this by adding "@local.delivery" as one of the destination addresses. When "@local.delivery" is found, alias resolution stops and the mail is delivered to that username.