New: debug.opendmarc.html.

This commit is contained in:
Zhang Huangbin 2019-07-19 20:50:37 +08:00
parent 1627880561
commit eb5e6d2a0b
3 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,16 @@
# Turn on debug mode in OpenDMARC
In OpenDMARC config file `/etc/opendmarc.conf`, find parameter `MilterDebug`
like below:
```
MilterDebug 0
```
Set its value to `1` and restart `opendmarc` service to enable debug mode:
```
MilterDebug 1
```
It's configured by iRedMail to log to `/var/log/opendmarc/opendmarc.log`.

40
html/debug.opendmarc.html Normal file
View File

@ -0,0 +1,40 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Turn on debug mode in OpenDMARC</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-opendmarc">Turn on debug mode in OpenDMARC</h1>
<p>In OpenDMARC config file <code>/etc/opendmarc.conf</code>, find parameter <code>MilterDebug</code>
like below:</p>
<pre><code>MilterDebug 0
</code></pre>
<p>Set its value to <code>1</code> and restart <code>opendmarc</code> service to enable debug mode:</p>
<pre><code>MilterDebug 1
</code></pre>
<p>It's configured by iRedMail to log to <code>/var/log/opendmarc/opendmarc.log</code>.</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>

View File

@ -231,6 +231,7 @@
<li><a href="debug.fail2ban.html">Turn on debug logging in Fail2ban</a></li>
<li><a href="debug.iredapd.html">Turn on debug mode in iRedAPD</a></li>
<li><a href="debug.mysql.html">Log executed SQL commands in MySQL/MariaDB</a></li>
<li><a href="debug.opendmarc.html">Turn on debug mode in OpenDMARC</a></li>
<li><a href="debug.openldap.html">Turn on debug mode in OpenLDAP</a></li>
<li><a href="debug.postfix.html">Turn on debug mode in Postfix</a></li>
<li><a href="debug.roundcubemail.html">Turn on debug mode in Roundcube webmail</a></li>