iredmail-doc/html_bk/debug.cluebringer.html

42 lines
2.4 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Turn on debug mode in Cluebringer</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;"
/>&nbsp;
<span>iRedMail</span>
</a>
&nbsp;&nbsp;//&nbsp;&nbsp;<a href="./index.html">Document Index</a></div><h1 id="turn-on-debug-mode-in-cluebringer">Turn on debug mode in Cluebringer</h1>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>Cluebringer has been removed from iRedMail since iRedMail-0.9.3, if you're
still running Cluebringer, please follow our tutorial to migrate to
iRedAPD: <a href="./cluebringer.to.iredapd.html">Migrate from Cluebringer to iRedAPD</a>.</p>
</div>
<p>To turn on debug mode in Cluebringer, please increase its log level in
Cluebringer config file, set what it should log, and restart Cluebringer
service.</p>
<ul>
<li>on RHEL/CentOS, it's <code>/etc/policyd/cluebringer.conf</code>.</li>
<li>on Debian/Ubuntu, it's <code>/etc/cluebringer/cluebringer.conf</code>.</li>
<li>on FreeBSD, it's <code>/usr/local/etc/cluebringer.conf</code>.</li>
<li>on OpenBSD: we don't have Cluebringer installed. We use built-in
<a href="http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man8/spamd.8?query=spamd">spamd(8)</a>
for greylisting, whitelisting and blacklisting.</li>
</ul>
<pre><code>log_level=4
log_detail=modules,tracking,policies
</code></pre>
<p>Cluebringer is configured to log to <code>/var/log/cbpolicyd.log</code> by default, so
please monitor this file to check detailed debug log.</p><div class="footer">
<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>
</div></body></html>