2019-09-20 - hschneider, Admin
Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.
XMail Forum · Newbies read here ! All about SMTP,MX-Records,DNS etc. | Help Search Members Calendar |
Welcome Guest ( Log In | Register ) | Resend Validation Email |
dfitch |
Posted: Oct 11 2003, 06:15 AM
|
Advanced Member Group: Members Posts: 117 Member No.: 475 Joined: 28-February 03 |
For those looking for a Spamassassin Alternative for win32.
Paranoid Spam Detector- http://www.sssolutions.net/paranoid Its not a free solution, but for $49.00 you can create Global, Domain, or User filters. In its control panel. It comes with a default dictionary, but it works much better if you create your own. It has given me and my 20+ hosted domains a 100% false postitive, but I did have to train it with creating my own dictionary. Below is example for Xmail: The XMail offers a way to filter messages by providing the ability to exceute external program, such as scripts or real executables. These filters may examine and / or modify messages and inform mail server of their actions with a return value. The JScript filter example below demonstrates how to use Paranoid ActiveX component to filter spam. If message spam probability more than 50%, the message will be rejected. To install this script you will need to copy it into mail server filters directory (for example, "C:\MailRoot\Filters\") and create appropriate .tab file (for example, "paranoid.tab") with following options: "C:\Winnt\System32\cscript.exe //T:120"[TAB]"C:\MailRoot\filters\SpamFilter.js"[TAB]"@@FILE"[TAB]"@@RRCPT" You will need Windows Scripting Host 5.1 installed or better to run this script. The script source along with filter.tab example located in Examples folder. For more information please read mail server manual. /* *********************************************************************** SpamFilter.js - JScript spam filter for the XMail Server. *********************************************************************** */ var thresholdProb = 50 // This is a threshold probability in percents. // All emails with spam probability more (or equal) // this value will be deleted. WScript.Quit(runFilter()); function runFilter() { if(WScript.Arguments.length < 2) return 0; var fileName = WScript.Arguments.item(0); // message filename var to = WScript.Arguments.item(1); // recipient email address paranoid = new ActiveXObject("SSLib.Paranoid"); var prob = paranoid.CalcProb(fileName, to, ''); return (prob > thresholdProb ? 20 : 0); } D |