On Thu, Mar 10, 2016 at 12:57 AM, Tom Johnson <t...@terramar.net> wrote:

> 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.
>

    Why don't you need to whitelist or blacklist domains per user basis in
following way in amavisd.conf file

    # ENVELOPE SENDER SOFT-WHITELISTING / SOFT-BLACKLISTING

@score_sender_maps = ({ # a by-recipient hash lookup table,
                        # results from all matching recipient tables are
summed

# ## per-recipient personal tables  (NOTE: positive: black, negative: white)





*'us...@example.com <us...@example.com>'  =>
[{'bla-mobile.pr...@example.com <bla-mobile.pr...@example.com>' =>
10.0}], 'us...@example.com <us...@example.com>'  => [{'.ebay.com
<http://ebay.com>'                 => -3.0}], 'us...@example.com
<us...@example.com>'  => [{'cleargr...@cleargreen.com
<cleargr...@cleargreen.com>' => -7.0,
'.cleargreen.com <http://cleargreen.com>'           => -5.0}],*





-- 
cat /etc/motd

Thank you
Indunil Jayasooriya
http://www.theravadanet.net/
http://www.siyabas.lk/sinhala_how_to_install.html   -  Download Sinhala
Fonts

Reply via email to