summaryrefslogtreecommitdiff
path: root/spamassassin/tweak.d
diff options
context:
space:
mode:
authorroot <root@jones.dk>2016-10-25 18:44:40 +0200
committerroot <root@jones.dk>2016-10-25 18:44:40 +0200
commit60f00c0836e5ad590af2e8100d2c14466a9b67af (patch)
tree39f82e6d36afc6f7740727da8176f07cf37ddb54 /spamassassin/tweak.d
parent5756ac4a3bd5abfac52aadba8daa874bbacbf89d (diff)
Resolve and (as sample) set whitelist_bounce_relays.
Diffstat (limited to 'spamassassin/tweak.d')
-rwxr-xr-xspamassassin/tweak.d/networks.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/spamassassin/tweak.d/networks.sh b/spamassassin/tweak.d/networks.sh
index 7b4d56b..3b62edb 100755
--- a/spamassassin/tweak.d/networks.sh
+++ b/spamassassin/tweak.d/networks.sh
@@ -52,9 +52,11 @@ for realm in $REALMS; do
[ ! -f "$realmdir/localnetworks" ] || ournets="${ournets:+$ournets }$(items "$realmdir/localnetworks")"
else
redpillnets="${redpillnets:+$redpillnets }$mailnets"
+ redpillhosts="${redpillhosts:+$redpillhosts }$(items "$realmdir/mailhost")"
fi
done
echo "FIXME: Add these to /etc/spamassassin/local.cf:"
echo "internal_networks $ournets"
echo "trusted_networks $ournets $redpillnets"
+echo "whitelist_bounce_relays $redpillhosts"