deploy: 0fb5251c20
This commit is contained in:
parent
36acc8427b
commit
bb483327d1
|
@ -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 it’s 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 && 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 <some-keyword></code></li>
|
||||
<li>Or: <code>docker exec -it <your-container-name> doveconf | grep <some-keyword></code></li>
|
||||
<li>Or: <code>docker exec -it mailserver doveconf | grep <some-keyword></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 <your-container-name> 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.
Loading…
Reference in New Issue