<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 10, 2016 at 12:57 AM, Tom Johnson <span dir="ltr"><<a href="mailto:tj@terramar.net" target="_blank">tj@terramar.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div></div><div>I'm sorry if I wasn't clear - adding to trusted_networks is not an option.  Different users have different needs.  One person might want x.x.x.x whitelisted, but another may not.  </div></div></blockquote><div><br></div><div>    Why don't you need to whitelist or blacklist domains per user basis in following way in amavisd.conf file<br><br>    # ENVELOPE SENDER SOFT-WHITELISTING / SOFT-BLACKLISTING<br><br>@score_sender_maps = ({ # a by-recipient hash lookup table,<br>                        # results from all matching recipient tables are summed<br><br># ## per-recipient personal tables  (NOTE: positive: black, negative: white)<br><br> <b>'<a href="mailto:user1@example.com">user1@example.com</a>'  => [{'<a href="mailto:bla-mobile.press@example.com">bla-mobile.press@example.com</a>' => 10.0}],<br> '<a href="mailto:user3@example.com">user3@example.com</a>'  => [{'.<a href="http://ebay.com">ebay.com</a>'                 => -3.0}],<br> '<a href="mailto:user4@example.com">user4@example.com</a>'  => [{'<a href="mailto:cleargreen@cleargreen.com">cleargreen@cleargreen.com</a>' => -7.0,<br>                           '.<a href="http://cleargreen.com">cleargreen.com</a>'           => -5.0}],<br></b><br><pre style="word-wrap:break-word"> </pre><pre style="word-wrap:break-word"><br></pre></div></div><br><br clear="all"><br>-- <br><div><div dir="ltr">cat /etc/motd<br><br>Thank you<br>Indunil Jayasooriya <br><a href="http://www.theravadanet.net/" target="_blank">http://www.theravadanet.net/</a><br><a href="http://www.siyabas.lk/sinhala_how_to_install.html" target="_blank">http://www.siyabas.lk/sinhala_how_to_install.html</a>   -  Download Sinhala Fonts<br><br></div></div>
</div></div>