SAWC.exe [SAWC and SA options] [MessageFileName]
Valid Options for SAWC are:
-SAWC_ELSpam Use the exitcode to report spam or not. 1 means spam, 0 means no spam
-SAWC_ELValue Use the exitcode to report the spam score. 91 means a score of 9.1
-SAWC_NoModify Tells SAWC to not modify the mail the way SA does.
-SAWC_Log=Filename Create a logfile with the Content analysis details by SA
-L Tells SA to do only local test. This is much faster but less effectiv
This sample will check a mail for spam, return the spamscore in its exitcodeb and the Content analysis details in "d:\sawc\sawc.log"
sawc.exe -SAWC_ELValue -SAWC_NoModify -SAWC_Log="d:\sawc\sawc.log" "d:\P2S\Queue\637020581-0.EML"
|