44 lines
2.3 KiB
HTML
44 lines
2.3 KiB
HTML
<!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">
|
||
<a href="https://www.iredmail.org" target="_blank">
|
||
<img alt="iRedMail web site"
|
||
src="./images/logo-iredmail.png"
|
||
style="vertical-align: middle; height: 30px;"
|
||
/>
|
||
<span>iRedMail</span>
|
||
</a>
|
||
// <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://bitbucket.org/zhb/iredmail-docs/src">Help translate more</a></p>
|
||
<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">
|
||
<p style="text-align: center; color: grey;">All documents are available in <a href="https://bitbucket.org/zhb/iredmail-docs/src">BitBucket 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://bitbucket.org/zhb/iredmail-docs/get/tip.tar.bz2">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>
|
||
</div>
|
||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-3293801-21"></script>
|
||
<script>
|
||
window.dataLayer = window.dataLayer || [];
|
||
function gtag(){dataLayer.push(arguments);}
|
||
gtag('js', new Date());
|
||
|
||
gtag('config', 'UA-3293801-21');
|
||
</script>
|
||
</body></html> |