New: howto/amavisd.per-recipient.policy.lookup.md.
This commit is contained in:
parent
04db646b61
commit
52f845a081
|
@ -0,0 +1,28 @@
|
|||
# Amavisd: Enable per-recipient policy lookup
|
||||
|
||||
With per-recipient policy lookup, you can achieve per-recipient white/blacklists,
|
||||
basic spamassassin preferences, etc. Settings are available as global setting,
|
||||
or per-domain, per-user settings. iRedMail uses it to reject blacklisted
|
||||
senders and bypass whitelisted senders during smtp session to save system
|
||||
resource (implemented via iRedAPD plugin `amavisd_wblist`, new in iRedAPD-1.4.4.).
|
||||
|
||||
iRedMail has `@storage_sql_dsn` enabled in Amavisd config file by default, so
|
||||
it's very easy to enable per-recipient policy lookup. Just add one line after
|
||||
`@storage_sqn_dsn` like below:
|
||||
|
||||
```
|
||||
# Part of file: amavisd.conf
|
||||
|
||||
@storage_sql_dsn = [...]
|
||||
@lookup_sql_dsn = @storage_sql_dsn;
|
||||
```
|
||||
|
||||
Then restart Amavisd serivce.
|
||||
|
||||
If you don't know where Amavisd config file is, please refer to our document:
|
||||
[Locations of configuration and log files of mojor components](./file.locations.html#amavisd)
|
||||
|
||||
## References:
|
||||
|
||||
* [Amavisd doc: Uing SQL for lookups, log/reporting and quarantine](http://www.ijs.si/software/amavisd/README.sql.txt)
|
||||
* [Amavisd doc: Lookup maps (hash, SQL) and access list explained](http://www.ijs.si/software/amavisd/README.lookups.txt)
|
|
@ -0,0 +1,46 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>Amavisd: Enable per-recipient policy lookup</title>
|
||||
<link href="./css/markdown.css" rel="stylesheet"></head>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="navigation">
|
||||
<a href="http://www.iredmail.org" target="_blank">iRedMail web site</a>
|
||||
|
||||
// <a href="./index.html">Document Index</a>
|
||||
</div><h1 id="amavisd-enable-per-recipient-policy-lookup">Amavisd: Enable per-recipient policy lookup</h1>
|
||||
<p>With per-recipient policy lookup, you can achieve per-recipient white/blacklists,
|
||||
basic spamassassin preferences, etc. Settings are available as global setting,
|
||||
or per-domain, per-user settings. iRedMail uses it to reject blacklisted
|
||||
senders and bypass whitelisted senders during smtp session to save system
|
||||
resource (implemented via iRedAPD plugin <code>amavisd_wblist</code>, new in iRedAPD-1.4.4.).</p>
|
||||
<p>iRedMail has <code>@storage_sql_dsn</code> enabled in Amavisd config file by default, so
|
||||
it's very easy to enable per-recipient policy lookup. Just add one line after
|
||||
<code>@storage_sqn_dsn</code> like below:</p>
|
||||
<pre><code># Part of file: amavisd.conf
|
||||
|
||||
@storage_sql_dsn = [...]
|
||||
@lookup_sql_dsn = @storage_sql_dsn;
|
||||
</code></pre>
|
||||
|
||||
<p>Then restart Amavisd serivce.</p>
|
||||
<p>If you don't know where Amavisd config file is, please refer to our document:
|
||||
<a href="./file.locations.html#amavisd">Locations of configuration and log files of mojor components</a></p>
|
||||
<h2 id="references">References:</h2>
|
||||
<ul>
|
||||
<li><a href="http://www.ijs.si/software/amavisd/README.sql.txt">Amavisd doc: Uing SQL for lookups, log/reporting and quarantine</a></li>
|
||||
<li><a href="http://www.ijs.si/software/amavisd/README.lookups.txt">Amavisd doc: Lookup maps (hash, SQL) and access list explained</a></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.<!-- Google Analytics -->
|
||||
<script type="text/javascript">
|
||||
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
|
||||
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
try {
|
||||
var pageTracker = _gat._getTracker("UA-3293801-14");
|
||||
pageTracker._trackPageview();
|
||||
} catch(err) {}
|
||||
</script>
|
||||
</body></html>
|
|
@ -45,6 +45,7 @@
|
|||
<li><a href="sign.dkim.signature.for.new.domain.html">Sign DKIM signature on outgoing emails for new mail domain</a></li>
|
||||
<li><a href="allow.insecure.pop3.imap.smtp.connections.html">Allow insecure POP3/IMAP/SMTP connections without STARTTLS</a></li>
|
||||
<li><a href="allow.user.to.send.email.without.authentication.html">Allow user to send email without authentication</a></li>
|
||||
<li><a href="amavisd.per-recipient.policy.lookup.html">Amavisd: Enable per-recipient policy lookup</a></li>
|
||||
<li><a href="force.user.to.change.password.html">Force mail user to change password in 90 days</a></li>
|
||||
<li><a href="ignore.trash.folder.in.quota.html">Ignore Trash folder in mailbox quota</a></li>
|
||||
<li><a href="iredadmin-pro.default.password.policy.html">iRedAdmin-Pro: Default password restrictions</a></li>
|
||||
|
|
Loading…
Reference in New Issue