summaryrefslogtreecommitdiff
path: root/spamassassin/tweak.d/networks.sh
diff options
context:
space:
mode:
Diffstat (limited to 'spamassassin/tweak.d/networks.sh')
-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"