mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-06-29 20:14:51 +02:00
deploy: ddcc1dcc5c
This commit is contained in:
parent
0eeb91b632
commit
b6afb50e7c
25 changed files with 136 additions and 136 deletions
|
@ -1559,7 +1559,7 @@
|
|||
<p>This was originally a community contributed guide. Please let us know via a Github Issue if you're having any difficulty following the guide so that we can update it.</p>
|
||||
</div>
|
||||
<p>This guide is focused on only using <a href="../../../config/security/understanding-the-ports/">SMTP ports (not POP3 and IMAP)</a> with the intent to relay mail received from another service to an external email address (eg: <code>user@gmail.com</code>). It is not intended for mailbox storage of real users.</p>
|
||||
<p>In this setup <code>docker-mailserver</code> is not intended to receive email from the outside world, so no anti-spam or anti-virus software is needed, making the service lighter to run.</p>
|
||||
<p>In this setup DMS is not intended to receive email from the outside world, so no anti-spam or anti-virus software is needed, making the service lighter to run.</p>
|
||||
<div class="admonition tip">
|
||||
<p class="admonition-title"><code>setup</code></p>
|
||||
<p>The <code>setup</code> command used below is to be <a href="../../../usage/#get-up-and-running">run inside the container</a>.</p>
|
||||
|
@ -1625,7 +1625,7 @@ ufw<span class="w"> </span>allow<span class="w"> </span><span class="m">465</spa
|
|||
@ IN A 10.11.12.13
|
||||
mail IN A 10.11.12.13
|
||||
|
||||
; mail-server for example.com
|
||||
; mail server for example.com
|
||||
@ IN MX 10 mail.example.com.
|
||||
|
||||
; Add SPF record
|
||||
|
@ -1647,7 +1647,7 @@ mail IN A 10.11.12.13
|
|||
<p>Get an SSL certificate, <a href="../../../config/security/ssl/#lets-encrypt-recommended">we have a guide for you here</a> (<em>Let's Encrypt</em> is a popular service to get free SSL certificates).</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Start <code>docker-mailserver</code> and check the terminal output for any errors: <code>docker-compose up</code>.</p>
|
||||
<p>Start DMS and check the terminal output for any errors: <code>docker-compose up</code>.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Create email accounts and aliases:</p>
|
||||
|
|
|
@ -1408,7 +1408,7 @@
|
|||
|
||||
<h1>Blog Posts</h1>
|
||||
|
||||
<p>This site lists blog entries that write about the project. If you blogged about <code>docker-mailserver</code> let us know so we can add it here!</p>
|
||||
<p>This site lists blog entries that write about the project. If you blogged about DMS let us know so we can add it here!</p>
|
||||
<ul>
|
||||
<li><a href="https://lowtek.ca/roo/2021/installing-docker-mailserver/">Installing docker-mailserver</a> by <a href="https://github.com/andrewlow">@andrewlow</a></li>
|
||||
<li><a href="https://www.ifthenel.se/self-hosted-mail-server/">Self hosted mail-server</a> by <a href="https://github.com/matrixes">@matrixes</a></li>
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
|
||||
|
||||
<title>Tutorials | Mail-Server behind a Proxy - Docker Mailserver</title>
|
||||
<title>Tutorials | Mail Server behind a Proxy - Docker Mailserver</title>
|
||||
|
||||
|
||||
|
||||
|
@ -79,7 +79,7 @@
|
|||
<div data-md-component="skip">
|
||||
|
||||
|
||||
<a href="#using-docker-mailserver-behind-a-proxy" class="md-skip">
|
||||
<a href="#using-dms-behind-a-proxy" class="md-skip">
|
||||
Skip to content
|
||||
</a>
|
||||
|
||||
|
@ -115,7 +115,7 @@
|
|||
<div class="md-header__topic" data-md-component="header-topic">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
Tutorials | Mail-Server behind a Proxy
|
||||
Tutorials | Mail Server behind a Proxy
|
||||
|
||||
</span>
|
||||
</div>
|
||||
|
@ -1162,11 +1162,11 @@
|
|||
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#using-docker-mailserver-behind-a-proxy" class="md-nav__link">
|
||||
Using docker-mailserver behind a Proxy
|
||||
<a href="#using-dms-behind-a-proxy" class="md-nav__link">
|
||||
Using DMS behind a Proxy
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="Using docker-mailserver behind a Proxy">
|
||||
<nav class="md-nav" aria-label="Using DMS behind a Proxy">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
|
@ -1458,11 +1458,11 @@
|
|||
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#using-docker-mailserver-behind-a-proxy" class="md-nav__link">
|
||||
Using docker-mailserver behind a Proxy
|
||||
<a href="#using-dms-behind-a-proxy" class="md-nav__link">
|
||||
Using DMS behind a Proxy
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="Using docker-mailserver behind a Proxy">
|
||||
<nav class="md-nav" aria-label="Using DMS behind a Proxy">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
|
@ -1511,7 +1511,7 @@
|
|||
|
||||
<h1>Mailserver behind Proxy</h1>
|
||||
|
||||
<h2 id="using-docker-mailserver-behind-a-proxy"><a class="toclink" href="#using-docker-mailserver-behind-a-proxy">Using <code>docker-mailserver</code> behind a Proxy</a></h2>
|
||||
<h2 id="using-dms-behind-a-proxy"><a class="toclink" href="#using-dms-behind-a-proxy">Using DMS behind a Proxy</a></h2>
|
||||
<h3 id="information"><a class="toclink" href="#information">Information</a></h3>
|
||||
<p>If you are hiding your container behind a proxy service you might have discovered that the proxied requests from now on contain the proxy IP as the request origin. Whilst this behavior is technical correct it produces certain problems on the containers behind the proxy as they cannot distinguish the real origin of the requests anymore.</p>
|
||||
<p>To solve this problem on TCP connections we can make use of the <a href="https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt">proxy protocol</a>. Compared to other workarounds that exist (<code>X-Forwarded-For</code> which only works for HTTP requests or <code>Tproxy</code> that requires you to recompile your kernel) the proxy protocol:</p>
|
||||
|
@ -1551,7 +1551,7 @@
|
|||
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="s">"4190:4190"</span>
|
||||
<span class="p p-Indicator">[</span><span class="nv">...</span><span class="p p-Indicator">]</span>
|
||||
</code></pre></div>
|
||||
<p>Truncated list of necessary labels on the <code>docker-mailserver</code> container:</p>
|
||||
<p>Truncated list of necessary labels on the DMS container:</p>
|
||||
<div class="highlight"><pre><span></span><code><span class="nt">services</span><span class="p">:</span>
|
||||
<span class="w"> </span><span class="nt">mailserver</span><span class="p">:</span>
|
||||
<span class="w"> </span><span class="nt">image</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">ghcr.io/docker-mailserver/docker-mailserver:latest</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue