On Thu, Mar 10, 2016 at 12:57 AM, Tom Johnson <[email protected]> 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)
*'[email protected] <[email protected]>' =>
[{'[email protected] <[email protected]>' =>
10.0}], '[email protected] <[email protected]>' => [{'.ebay.com
<http://ebay.com>' => -3.0}], '[email protected]
<[email protected]>' => [{'[email protected]
<[email protected]>' => -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