On 11/11/2010 12:45 AM, Bgs wrote: > Hi, > > I was wondering whether there was a simple way to conditionally unset > the variable. > > I'm using a spamdyke+qmail-scanner+spamassassin+clamav combination. > QS_SPAMASSASSIN is set from tcpserver for non-localhost senders. Why do you set it at all? By default, simply having RELAYCLIENT=0 (ie non-local sessions) makes QS call SA - why did you need to use QS_SPAMASSASSIN?
> I have > authentication working and want to disable spam filtering for > authenticated users as their mail regularly ends up in junk (for example > mail sent from mobile from source without reverse dns and alike). Are you doing that via MSA (ie port 587)? If so, depending on the auth patch you use, they normally set RELAYCLIENT for auth'ed users, and then QS happily doesn't call SA (as above) - as you'd want? Basically, QS is meant to only call SA for email coming from IPs that aren't classified as "local" (ie via RELAYCLIENT). From what you have said, I can't see why you are using QS_SPAMASSASSIN at all - it's meant to be for people who want it to run SA on locally generated email - the opposite from what you are doing... -- Cheers Jason Haar Information Security Manager, Trimble Navigation Ltd. Phone: +64 3 9635 377 Fax: +64 3 9635 417 PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1 ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ Qmail-scanner-general mailing list Qmail-scanner-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general