This commit is contained in:
github-actions[bot] 2021-04-17 22:31:38 +00:00
parent 36acc8427b
commit bb483327d1
4 changed files with 1333 additions and 3 deletions

View file

@ -1296,6 +1296,7 @@
<p>This limit is quickly reached if users connect to the mail server with multiple end devices.</p>
<h2 id="override-configuration"><a class="toclink" href="#override-configuration">Override Configuration</a></h2>
<p>For major configuration changes its best to override the dovecot configuration files. For each configuration file you want to override, add a list entry under the <code>volumes</code> key.</p>
<p>You will need to first obtain the configuration from the running container: <code>mkdir -p ./config/dovecot &amp;&amp; docker cp mailserver:/etc/dovecot/conf.d/10-master.conf ./config/dovecot/10-master.conf</code></p>
<div class="highlight"><pre><span></span><code><span class="nt">services</span><span class="p">:</span>
<span class="nt">mail</span><span class="p">:</span>
<span class="nt">volumes</span><span class="p">:</span>
@ -1306,14 +1307,14 @@
<p>To debug your dovecot configuration you can use:</p>
<ul>
<li>This command: <code>./setup.sh debug login doveconf | grep &lt;some-keyword&gt;</code></li>
<li>Or: <code>docker exec -it &lt;your-container-name&gt; doveconf | grep &lt;some-keyword&gt;</code></li>
<li>Or: <code>docker exec -it mailserver doveconf | grep &lt;some-keyword&gt;</code></li>
</ul>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p><a href="https://github.com/docker-mailserver/docker-mailserver/blob/master/setup.sh"><code>setup.sh</code></a> is included in the <code>docker-mailserver</code> repository. Make sure to grap the one matching your image version.</p>
</div>
<p>The <code>config/dovecot.cf</code> is copied internally to <code>/etc/dovecot/local.conf</code>. To check this file run:</p>
<div class="highlight"><pre><span></span><code>docker <span class="nb">exec</span> -it &lt;your-container-name&gt; cat /etc/dovecot/local.conf
<div class="highlight"><pre><span></span><code>docker <span class="nb">exec</span> -it mailserver cat /etc/dovecot/local.conf
</code></pre></div>

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

Binary file not shown.