Justin Mason wrote: > Matt Kettler writes: > >> Roman Serbski wrote: >> >>> Hi all, >>> >>> FreeBSD 6.2-PRE, SA 3.1.7, qmail - all installed from ports. >>> >>> Sorry for dumb question but how can I disable SA checks for a >>> particular IP address? I have couple of remote offices with their own >>> email servers and I would like to disable any SA checks against >>> messages recieved from their SMTP servers. I tried to include IP >>> addresses of SMTP servers in trusted_networks but it didn't help - I >>> can still see SA checks. >>> >> The only way to completely disable SA checks is to not call SA in the >> first place.. Therefore, how you do this depends on what tool you're >> using to call SA. >> > > for what it's worth, in SpamAssassin 3.2.0 it'll be easy enough > to short-circuit on the ALL_TRUSTED rule to do this. > > --j. > > True, provided you make sure all the other IPs in the path are trusted. ie: just adding a server to trusted_networks alone may not do anything at all if there's other untrusted servers involved.
And of course, that's future code.