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

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
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
Qmail-scanner-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to