[mireka] r193 committed - The proxy documentation was missing instructions about the Message Sub...

24 views
Skip to first unread message

mir...@googlecode.com

unread,
May 10, 2013, 6:15:33 PM5/10/13
to mir...@googlegroups.com
Revision: 193
Author: hont...@flyordie.com
Date: Fri May 10 15:15:26 2013
Log: The proxy documentation was missing instructions about the
Message Submission port, and there was a typo in the example.
http://code.google.com/p/mireka/source/detail?r=193

Modified:
/trunk/setup/doc/basic-configuration/proxy.html

=======================================
--- /trunk/setup/doc/basic-configuration/proxy.html Thu May 9 15:39:28 2013
+++ /trunk/setup/doc/basic-configuration/proxy.html Fri May 10 15:15:26 2013
@@ -27,11 +27,35 @@

<p>Note: you can freely specify another backend server for a different set
of recipient addresses.

-<p>Next, edit <code>local-recipients.js</code> and insert the proxy
mapping below the
+<h2>Proxying remote addresses by the Message Submission service</h2>
+
+A Message Submission port (587) receives mails addressed to both local and
remote addresses.
+If yow want to proxy all mails which were not delivered locally, then edit
+<code>submission/submission.js</code>, and
+<ol>
+<li>delete the <code>TransmitterDestination</code> line
+<li>uncomment the <code>RelayDestinaton</code> line.
+</ol>
+The result should look like this:
+<p class="code">...
+<span class="relevant"><del>destination:
setup(TransmitterDestination),</del></span>
+
+<span class="relevant">destination: setup(RelayDestination, {
+ backendServer: backendServer
+})</span>
+...</p>
+
+<p>Note: if you want to proxy each and every mail, then simply do not
define any local recipients.
+
+<h2>Proxying local addresses</h2>
+
+<p>In order to proxy some or all local addresses, edit
<code>local-recipients.js</code>
+and insert the proxy mapping below the
comment <cite>ENTER YOUR RECIPIENT-DESTINATION MAPPINGS HERE</cite>.
-For example if you want to relay everything to the backend server, then
insert the following code:
+For example if you want to relay every <b>local</b> address to the backend
server,
+then insert the following code:
<p class="code">...
-<span class="relevant">massProxy(backendServer, [ setup(AnyRecipient)
]);</span>
+<span class="relevant">massProxy(backendServer, [ setup(AnyRecipient)
]),</span>
...</p>

<p>Here is a complex example for selectively relaying specific addresses:
Reply all
Reply to author
Forward
0 new messages