> On 29.3.2010 18:40, Kaleb Hosie wrote: > > I'm having a problem with the trusted_networks option. > Right now I have it set to: > > > > trusted_networks 10.0.1/24 > > > > In postfix, I need to have spamassassin listed under > "smtpd_recipient_restrictions" so that it will only scan > incoming emails however it would be handy to get this option > working if at all possible so it won't scan outgoing emails. > > > > When I try to use this option; I login through telnet port > 25, and send the test spam string (from the 10.0.1.0 subnet) > it still gets caught in spam. Am I doing something wrong or > is there another option I need to choose? > > > > What is your glue to SpamAssassin? How is it called? > > I call SA from maildrop or procmail, which automatically > makes it for incoming only. There are so many ways to do it. > > -- > http://www.iki.fi/jarif/ > > You've been leading a dog's life. Stay off the furniture. >
I thought that with that option, SA is able to decide itself as to whether to scan it or not. The program that I use to interface with SA is a rather unknown program called SpamAssassin Quarantine (SAQ). If SA isn't able to decide for itself to not scan particular emails depending upon whether it's from the internal network or not then I'll have to see about reprogramming SAQ to work. Kaleb