Improve troubleshooting/debug.dovecot.md.

This commit is contained in:
Zhang Huangbin 2015-04-16 07:55:05 +08:00
parent 6b3b37d700
commit c37619ebaa
2 changed files with 18 additions and 2 deletions

View File

@ -12,7 +12,7 @@
// <a href="./index.html">Document Index</a>
</div><h1 id="turn-on-debug-mode-in-dovecot">Turn on debug mode in Dovecot</h1>
<blockquote>
<p>Don't know where Amavisd config file is? check this tutorial:
<p>Don't know where Dovecot config files are? check this tutorial:
<a href="file.locations.html#dovecot">Locations of configuration and log files of mojor components</a>.</p>
</blockquote>
<p>To turn on debug mode in Dovecot, please update below parameter in Dovecot
@ -27,6 +27,13 @@ settings and restart dovecot service.</p>
auth_debug = yes
auth_debug_passwords = yes
auth_verbose_passwords = yes
</code></pre>
<p>If you see many error message (like <code>dovecot fails, spawning too quickly</code>) in
Dovecot error log while restarting Dovecot, there might be something wrong
in Dovecot config file. Please try to start it on command line manually, it
will report configuration error if any, fix them and start it again:</p>
<pre><code># dovecot -c /etc/dovecot/dovecot.conf
</code></pre><p style="text-align: center; color: grey;">Document published under a <a href="http://creativecommons.org/licenses/by-nd/3.0/us/" target="_blank">CC BY-ND 3.0</a> license. If you found something wrong, please do <a href="http://www.iredmail.org/contact.html">contact us</a> to fix it.<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

View File

@ -1,6 +1,6 @@
# Turn on debug mode in Dovecot
> Don't know where Amavisd config file is? check this tutorial:
> Don't know where Dovecot config files are? check this tutorial:
> [Locations of configuration and log files of mojor components](file.locations.html#dovecot).
To turn on debug mode in Dovecot, please update below parameter in Dovecot
@ -21,3 +21,12 @@ auth_debug = yes
auth_debug_passwords = yes
auth_verbose_passwords = yes
```
If you see many error message (like `dovecot fails, spawning too quickly`) in
Dovecot error log while restarting Dovecot, there might be something wrong
in Dovecot config file. Please try to start it on command line manually, it
will report configuration error if any, fix them and start it again:
```
# dovecot -c /etc/dovecot/dovecot.conf
```