iredmail-doc/html_bk/debug.amavisd-zh_CN.html

32 lines
1.9 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>调试 Amavisd 和 SpamAssassin</title>
<link rel="stylesheet" type="text/css" href="./css/markdown.css" />
</head>
<body>
<div id="navigation">
2017-11-16 21:48:44 -06:00
<a href="https://www.iredmail.org" target="_blank">
<img alt="iRedMail web site"
src="./images/logo-iredmail.png"
style="vertical-align: middle; height: 30px;"
/>&nbsp;
<span>iRedMail</span>
</a>
&nbsp;&nbsp;//&nbsp;&nbsp;<a href="./index.html">Document Index</a></div><div class="admonition note">
<p class="admonition-title">This tutorial is available in other languages. <a href="https://github.com/iredmail/docs">Help translate more</a></p>
2016-04-24 09:21:04 -05:00
<p><a href="./debug.amavisd.html">English</a> /</p>
</div>
<h1 id="amavisd-spamassassin">调试 Amavisd 和 SpamAssassin</h1>
<p>找到<a href="./file.locations.html#amavisd">Amavisd 配置文件</a>,修改 <code>$log_level</code> 参数,
然后重启 amavisd 服务。</p>
<pre><code>$log_level = 5; # 日志等级0 到 5或 -d
</code></pre>
<p>如果需要调试 SpamAssassin请同时修改 <code>$sa_debug</code> 参数:</p>
<pre><code>$sa_debug = 1;
</code></pre>
<p>在 iRedMail 里Amavisd 会记录日志到 <a href="./file.locations.html#postfix">Postfix 日志文件</a></p><div class="footer">
2019-12-31 00:07:48 -06:00
<p style="text-align: center; color: grey;">All documents are available in <a href="https://github.com/iredmail/docs/">GitHub repository</a>, and published under <a href="http://creativecommons.org/licenses/by-nd/3.0/us/" target="_blank">Creative Commons</a> license. You can <a href="https://github.com/iredmail/docs/archive/master.zip">download the latest version</a> for offline reading. If you found something wrong, please do <a href="https://www.iredmail.org/contact.html">contact us</a> to fix it.</p>
2021-07-11 23:36:15 -05:00
</div></body></html>