Suggestion about QS_SPAMASSASSIN

"Egor A. Fisher" <[email protected]>
Newsgroups gmane.mail.qmail.scanner
Message-ID <[email protected]>
In situation when we want skip Spamassassin checks for not REALYCLIENT

we could use QS_SPAMASSASSIN="0" in tcpserver control file

with little changes in QMS code ( or QMS+st patch):


in  *sub spamassassin*  and *sub spamassassin_alt*  adding code listed below
(before QS_RELAYCLIENT check)

  if ( defined($ENV{'QS_SPAMASSASSIN'}) && $ENV{'QS_SPAMASSASSIN'} == 0 ) {
   &debug("spamassassin: don't scan because QS_SPAMASSASSIN is 0");
   &minidebug("SA: don't scan because QS_SPAMASSASSIN is 0 ");
   return;
  }


thats all

Best regards
Egor A. Fisher

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
Qmail-scanner-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
signature.asc (application/pgp-signature, 155 B)
-----BEGIN PGP SIGNATURE-----

iD8DBQFGeFMQEAqlXXbL+NURAgdhAJ9/qfvER4IcJLbTwMQJ+qmyBglLqQCggQbn
uu7ASWmlPjFpJHgOr8QlABk=
=Rw/E
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.