Whitelisting by IP address

Indunil Jayasooriya indunil75 at gmail.com
Thu Mar 10 04:11:32 CET 2016


On Thu, Mar 10, 2016 at 12:57 AM, Tom Johnson <tj at 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)





*'user1 at example.com <user1 at example.com>'  =>
[{'bla-mobile.press at example.com <bla-mobile.press at example.com>' =>
10.0}], 'user3 at example.com <user3 at example.com>'  => [{'.ebay.com
<http://ebay.com>'                 => -3.0}], 'user4 at example.com
<user4 at example.com>'  => [{'cleargreen at cleargreen.com
<cleargreen at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20160310/df7c701e/attachment.html>


More information about the amavis-users mailing list