???????zh_CN/troubleshooting/debug.dovecot.md.
This commit is contained in:
parent
ca1b92d611
commit
14666b7a5b
|
@ -22,7 +22,7 @@ strip_name_prefix()
|
||||||
}
|
}
|
||||||
|
|
||||||
# Available translations
|
# Available translations
|
||||||
all_languages='en_US'
|
all_languages='en_US zh_CN'
|
||||||
|
|
||||||
# Chapter directories in specified order
|
# Chapter directories in specified order
|
||||||
all_chapter_dirs="overview \
|
all_chapter_dirs="overview \
|
||||||
|
|
|
@ -0,0 +1,20 @@
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
|
<title>iRedMail Documentations</title>
|
||||||
|
<link rel="stylesheet" type="text/css" href="./css/markdown.css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div id="navigation">
|
||||||
|
<a href="http://www.iredmail.org" target="_blank">iRedMail web site</a>
|
||||||
|
</div><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),
|
||||||
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||||
|
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||||
|
|
||||||
|
ga('create', 'UA-3293801-21', 'auto');
|
||||||
|
ga('send', 'pageview');
|
||||||
|
</script>
|
||||||
|
</body></html>
|
|
@ -1,17 +1,17 @@
|
||||||
# 开启Dovecot服务的调试模式
|
# 开启 Dovecot 调试模式
|
||||||
|
|
||||||
> 不知道Dovecot的配置文件在哪个目录?请查阅这个教程:
|
> 不知道Dovecot的配置文件在哪个目录?请查阅这个教程:
|
||||||
> [iRedMail主要组件配置文件和日志文件存放目录](file.locations.html#dovecot).
|
> [iRedMail 主要组件的配置文件和日志文件路径](file.locations.html#dovecot).
|
||||||
|
|
||||||
要开启Dovecot服务的调试模式,您需要对`dovecot.conf`配置文件做如下更改:
|
要调试 Dovecot,请修改 `dovecot.conf` 的如下参数:
|
||||||
|
|
||||||
```
|
```
|
||||||
mail_debug = yes
|
mail_debug = yes
|
||||||
```
|
```
|
||||||
|
|
||||||
重启Dovecot服务。
|
之后重启 Dovecot 服务。
|
||||||
|
|
||||||
如果您需要开启经授权验证后才能查阅调试日志的功能,请按下方所示更改配置文件并重启Dovecot服务。
|
如果需要查看验证和密码相关的调试信息,请修改如下参数并重启 Dovecot 服务:
|
||||||
|
|
||||||
```
|
```
|
||||||
auth_verbose = yes
|
auth_verbose = yes
|
||||||
|
@ -20,7 +20,9 @@ auth_debug_passwords = yes
|
||||||
auth_verbose_passwords = yes
|
auth_verbose_passwords = yes
|
||||||
```
|
```
|
||||||
|
|
||||||
当您在重启Dovecot服务时看到很多错误信息(比如`dovecot fails, spawning too quickly`),这可能是由于Dovecot配置文件中的某些错误导致的。此时,请以命令行的形式手动重启Dovecot服务,在此模式下,Dovecot会列出重启过程中遇到的所有错误信息,您应当根据这些信息修改配置文件,并重启Dovecot服务:
|
如果重启 Dovecot 服务时看到很多错误信息(例如:`dovecot fails, spawning too
|
||||||
|
quickly`),可能是由于 Dovecot 配置文件中有某种错误导致的。请在命令行手动重启
|
||||||
|
Dovecot 服务,它会报告配置文件的错误:
|
||||||
|
|
||||||
```
|
```
|
||||||
# dovecot -c /etc/dovecot/dovecot.conf
|
# dovecot -c /etc/dovecot/dovecot.conf
|
||||||
|
|
Loading…
Reference in New Issue