Very Cool!
That sounds like a great plan - let's see how long it takes me to
write it...
Looking at SA's command line options now.
Ciao, Bill
----
William Vernon Omega Design Studio, Inc.
President 18 North Belmont Ave., Suite 16
Indianapolis, IN 46222
317.423.3568 http://4omega.com
-----Original Message-----
From: Max Paperno [mailto:[EMAIL PROTECTED]
Sent: Monday, July 28, 2003 10:26 PM
To: inFusion Support List
Subject: RE: [iMS] [OT] Spam filter test
>
>Guess I should look at maybe using the Perl side - maybe getting Perl
>to return a value to the CF page... Hmmm...
I think you can get the functionality you want just by running spamassassin
on a command line with the appropriate options plus your input as a plain
text file. You can then parse the output to determine what you need (spam
score, rules hit, etc). SA by itself will take a regular mail file
(formatted using CFX_imsMail for example) and rewrite it by adding headers
and a report of rules hit. You could then use ODSMIME tag to parse the
headers and get all the info you need from that. Running a command from CF
is easy enough: cfexecute.
Cheers,
-Max
==^=======================================================
This list server is Powered by iMS
"The Swiss Army Knife of Mail Servers"
--------------------------------------
To leave this list please complete the form at
http://www.coolfusion.com/Support/
Need an iMS Developer license? Sign up for a free license here:
http://www.coolfusion.com/Developers/
List archives: http://www.mail-archive.com/infusion-email%40eoscape.com/
Note: You are subscribed as [EMAIL PROTECTED]
==^=======================================================