On 4/11/2016 10:55 AM, Helmut Schneider wrote:
Hi,

for more than 6 months I'm trying to fix ALL_TRUSTED=-1 without success.

I have read https://wiki.apache.org/spamassassin/TrustPath and
https://wiki.apache.org/spamassassin/FixingAllTrusted carefully, put

trusted_networks 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16
internal_networks 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16
add_header all RelaysUntrusted _RELAYSUNTRUSTED_ (this does not seem to
work at all, no header seems added)

into local.cf and still ALL_TRUSTED gets fired. Any help would be
appreciated.

Step one is to make sure you're putting the settings into the right file. Run this to check if you are using the right file:

$ spamassassin -D config --lint 2>&1 | grep local.cf
Apr 11 11:40:56.509 [6692] dbg: config: read file /etc/mail/spamassassin/local.cf

Once you have your settings in the right file, then make sure you have restarted amavisd-new to load the new settings.

--
Bowie

Reply via email to