mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-06-27 11:19:15 +02:00
deploy: 05eb8cb10e
This commit is contained in:
parent
12cc407e28
commit
61dbc1cbc9
7 changed files with 19 additions and 18 deletions
|
@ -1441,7 +1441,7 @@ docker-compose up mail
|
|||
./setup.sh email list
|
||||
./setup.sh <span class="nb">alias</span> list
|
||||
</code></pre></div>
|
||||
<p>This extra step is required to avoid the <code>553 5.7.1 Sender address rejected: not owned by user</code> error (the account used for setting up gmail is <code>admin.gmail@example.org</code> and <code>info.gmail@example.org</code> )</p>
|
||||
<p>This extra step is required to avoid the <code>553 5.7.1 Sender address rejected: not owned by user</code> error (the account used for setting up Gmail is <code>admin.gmail@example.org</code> and <code>info.gmail@example.org</code> )</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Send some test emails to these addresses and make other tests. Then stop the container with <code>ctrl+c</code> and start it again as a daemon: <code>docker-compose up -d mail</code>.</p>
|
||||
|
|
|
@ -1377,7 +1377,7 @@
|
|||
<p>Luckily <code>dovecot</code> and <code>postfix</code> are both Proxy-Protocol ready softwares so it depends only on your used reverse-proxy / loadbalancer.</p>
|
||||
<h3 id="configuration-of-the-used-proxy-software"><a class="toclink" href="#configuration-of-the-used-proxy-software">Configuration of the used Proxy Software</a></h3>
|
||||
<p>The configuration depends on the used proxy system. I will provide the configuration examples of <a href="https://traefik.io/">traefik v2</a> using IMAP and SMTP with implicit TLS.</p>
|
||||
<p>Feel free to add your configuration if you achived the same goal using different proxy software below:</p>
|
||||
<p>Feel free to add your configuration if you archived the same goal using different proxy software below:</p>
|
||||
<details><summary>Traefik v2</summary><p>Truncated configuration of traefik itself:</p>
|
||||
<div class="highlight"><pre><span></span><code><span class="nt">version</span><span class="p">:</span> <span class="s">'3.7'</span>
|
||||
<span class="nt">services</span><span class="p">:</span>
|
||||
|
@ -1433,10 +1433,10 @@
|
|||
<span class="p p-Indicator">-</span> <span class="s">"traefik.tcp.services.sieve.loadbalancer.server.port=4190"</span>
|
||||
<span class="p p-Indicator">[</span><span class="nv">...</span><span class="p p-Indicator">]</span>
|
||||
</code></pre></div>
|
||||
<p>Keep in mind that it is neccessary to use port <code>10993</code> here. More information below at <code>dovecot</code> configuration.</p>
|
||||
<p>Keep in mind that it is necessary to use port <code>10993</code> here. More information below at <code>dovecot</code> configuration.</p>
|
||||
</details>
|
||||
<h3 id="configuration-of-the-backend-dovecot-and-postfix"><a class="toclink" href="#configuration-of-the-backend-dovecot-and-postfix">Configuration of the Backend (<code>dovecot</code> and <code>postfix</code>)</a></h3>
|
||||
<p>The following changes can be achived completely by adding the content to the appropriate files by using the projects <a href="../../../config/advanced/optional-config/">function to overwrite config files</a>.</p>
|
||||
<p>The following changes can be achieved completely by adding the content to the appropriate files by using the projects <a href="../../../config/advanced/optional-config/">function to overwrite config files</a>.</p>
|
||||
<p>Changes for <code>postfix</code> can be applied by adding the following content to <code>config/postfix-main.cf</code>:</p>
|
||||
<div class="highlight"><pre><span></span><code><span class="na">postscreen_upstream_proxy_protocol</span> <span class="o">=</span> <span class="s">haproxy</span>
|
||||
</code></pre></div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue