<p>Table <code>amavisd.mailaddr</code> stores email addresses <strong>NOT</strong> hosted on your server.
Note: value of column <code>mailaddr.email</code> could be something like below:</p>
<ul>
<li><code>@.</code>: a catch-all address.</li>
<li><code>@domain.com</code>: entire domain.</li>
<li><code>@.domain.com</code>: entire domain and all its sub-domains.</li>
<li><code>user@domain.com</code>: a single email address.</li>
<li><code>user@*</code>: email addresses start with <code>user@</code>. Note: This is used by iRedAPD, not Amavisd.</li>
<li><code>192.168.1.2</code>: a single IP address. Note: This is used by iRedAPD, not Amavisd.</li>
<li><code>192.168.*.2</code>: wildcard IP address. Note: This is used by iRedAPD, not Amavisd.</li>
</ul>
<p>The addresses are used in several tables:</p>
<ul>
<li><code>amavisd.wblist</code>: used by Amavisd. If sender (of inbound message) is
blacklisted, Amavisd will quarantine this email.</li>
<li><code>amavisd.outbound_wblist</code>. New in iRedMail-0.9.3, used by iRedAPD plugin
<code>amavisd_wblist</code> for white/blacklisting for outbound message.</li>
</ul>
</li>
<li>
<p><code>amavisd.users</code> stores mail addresses hosted on your server. Value of column
<code>users.email</code> uses same format as <code>amavisd.mailaddr</code> mentioned above.</p>
</li>
<li>
<p><code>amavisd.wblist</code> stores white/blacklists for inbound message. <code>wblist.sid</code>
(sender id) refers to <code>mailaddr.id</code>, <code>wblist.rid</code> (recipient id) refers to
<code>users.id</code>.</p>
</li>
<li>
<p><code>amavisd.outbound_wblist</code> stores white/blacklists for outbound message.
<code>outbound_wblist.sid</code> (sender id) refers to <code>users.id</code>, <code>outbound_wblist.rid</code>
(recipient id) refers to <code>mailaddr.id</code>.</p>
<p>Note: this table is used by iRedAPD, not Amavisd.</p>
</li>
<li>
<p><code>amavisd.policy</code>: used to define per-recipient spam policy, and max message
size limit.</p>
</li>
</ul><pstyle="text-align: center; color: grey;">Document published under a <ahref="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 <ahref="http://www.iredmail.org/contact.html">contact us</a> to fix it.<script>