Typo in faq/amavisd.sql.db.md.
This commit is contained in:
parent
4caedee1f5
commit
ebe567fa27
|
@ -13,14 +13,24 @@ Amavisd has two settings to use its SQL tables:
|
||||||
* quarantined mails. Note: it stores full message of quarantined mail,
|
* quarantined mails. Note: it stores full message of quarantined mail,
|
||||||
including mail body.
|
including mail body.
|
||||||
|
|
||||||
`@storage_sql_dsn` uses 4 sql tables: `msgs`, `msgrcpt`, `maddr`, `quarantine`.
|
`@storage_sql_dsn` uses 4 sql tables:
|
||||||
|
|
||||||
|
* `msgs`
|
||||||
|
* `msgrcpt`
|
||||||
|
* `maddr`
|
||||||
|
* `quarantine`
|
||||||
|
|
||||||
* `@lookup_sql_dsn`: used to store:
|
* `@lookup_sql_dsn`: used to store:
|
||||||
|
|
||||||
* per-account spam policy
|
* per-account spam policy
|
||||||
* per-account white/blacklists
|
* per-account white/blacklists
|
||||||
|
|
||||||
`@lookup_sql_dsn` uses 4 sql tables: `mailaddr`, `policy`, `users`, `wblist`.
|
`@lookup_sql_dsn` uses 4 sql tables:
|
||||||
|
|
||||||
|
* `mailaddr`
|
||||||
|
* `policy`
|
||||||
|
* `users`
|
||||||
|
* `wblist`
|
||||||
|
|
||||||
## Details
|
## Details
|
||||||
|
|
||||||
|
@ -59,3 +69,15 @@ Amavisd has two settings to use its SQL tables:
|
||||||
|
|
||||||
* `amavisd.policy`: used to define per-recipient spam policy, and max message
|
* `amavisd.policy`: used to define per-recipient spam policy, and max message
|
||||||
size limit.
|
size limit.
|
||||||
|
|
||||||
|
### TODO: `@storage_sql_dsn`
|
||||||
|
|
||||||
|
* `maddr`
|
||||||
|
* `msgs`
|
||||||
|
* `msgrcpt`
|
||||||
|
* `quarantine`
|
||||||
|
|
||||||
|
Since Amavisd will store basic info of every inbound/outbound email, the SQL
|
||||||
|
database will grow bigger and bigger, iRedMail setups a daily cron job to
|
||||||
|
clean up old records with script shipped in iRedAdmin (available in both
|
||||||
|
iRedAdmin open source edition and iRedAdmin-Pro): `tools/cleanup_amavisd_db.py`.
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
<li><a href="#summary">Summary</a></li>
|
<li><a href="#summary">Summary</a></li>
|
||||||
<li><a href="#details">Details</a><ul>
|
<li><a href="#details">Details</a><ul>
|
||||||
<li><a href="#lookup_sql_dsn">@lookup_sql_dsn</a></li>
|
<li><a href="#lookup_sql_dsn">@lookup_sql_dsn</a></li>
|
||||||
|
<li><a href="#todo-storage_sql_dsn">TODO: @storage_sql_dsn</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -34,7 +35,13 @@
|
||||||
<li>quarantined mails. Note: it stores full message of quarantined mail,
|
<li>quarantined mails. Note: it stores full message of quarantined mail,
|
||||||
including mail body.</li>
|
including mail body.</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p><code>@storage_sql_dsn</code> uses 4 sql tables: <code>msgs</code>, <code>msgrcpt</code>, <code>maddr</code>, <code>quarantine</code>.</p>
|
<p><code>@storage_sql_dsn</code> uses 4 sql tables:</p>
|
||||||
|
<ul>
|
||||||
|
<li><code>msgs</code></li>
|
||||||
|
<li><code>msgrcpt</code></li>
|
||||||
|
<li><code>maddr</code></li>
|
||||||
|
<li><code>quarantine</code></li>
|
||||||
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<p><code>@lookup_sql_dsn</code>: used to store:</p>
|
<p><code>@lookup_sql_dsn</code>: used to store:</p>
|
||||||
|
@ -42,7 +49,13 @@
|
||||||
<li>per-account spam policy</li>
|
<li>per-account spam policy</li>
|
||||||
<li>per-account white/blacklists</li>
|
<li>per-account white/blacklists</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p><code>@lookup_sql_dsn</code> uses 4 sql tables: <code>mailaddr</code>, <code>policy</code>, <code>users</code>, <code>wblist</code>.</p>
|
<p><code>@lookup_sql_dsn</code> uses 4 sql tables:</p>
|
||||||
|
<ul>
|
||||||
|
<li><code>mailaddr</code></li>
|
||||||
|
<li><code>policy</code></li>
|
||||||
|
<li><code>users</code></li>
|
||||||
|
<li><code>wblist</code></li>
|
||||||
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<h2 id="details">Details</h2>
|
<h2 id="details">Details</h2>
|
||||||
|
@ -87,7 +100,18 @@
|
||||||
<p><code>amavisd.policy</code>: used to define per-recipient spam policy, and max message
|
<p><code>amavisd.policy</code>: used to define per-recipient spam policy, and max message
|
||||||
size limit.</p>
|
size limit.</p>
|
||||||
</li>
|
</li>
|
||||||
</ul><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>
|
</ul>
|
||||||
|
<h3 id="todo-storage_sql_dsn">TODO: <code>@storage_sql_dsn</code></h3>
|
||||||
|
<ul>
|
||||||
|
<li><code>maddr</code></li>
|
||||||
|
<li><code>msgs</code></li>
|
||||||
|
<li><code>msgrcpt</code></li>
|
||||||
|
<li><code>quarantine</code></li>
|
||||||
|
</ul>
|
||||||
|
<p>Since Amavisd will store basic info of every inbound/outbound email, the SQL
|
||||||
|
database will grow bigger and bigger, iRedMail setups a daily cron job to
|
||||||
|
clean up old records with script shipped in iRedAdmin (available in both
|
||||||
|
iRedAdmin open source edition and iRedAdmin-Pro): <code>tools/cleanup_amavisd_db.py</code>.</p><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(){
|
(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),
|
(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)
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||||
|
|
Loading…
Reference in New Issue