Hi, On Wed, Jun 16, 2010 at 07:18:57AM -0700, Gnanam wrote: > > I want to integrate SpamAssassin in my web-based application to test spam > score of the "email content" that our application User's wish to send in > mail composing page itself - even before sending. When I say mail composing > page here, it is not an email client like Outlook, Outlook Express, etc. but > rather it is a regular/normal web-based form with HTML editor.
Would this really help? Could you tell us a bit more about your problem itself? The reason I ask is: the mailbody is a very small part of what is commonly used for antispam measures. Header is added afterwards, IP is not yet known, HELO is not known, no reputation, no RBLs, no phyzor/razor/... It's not easy to get a SA score >5 if anything else is OK (IP reputation/RBLs, DNS, Header, HELO, ...) - just try yourself (spamassassin -t testmail). So - in my eyes - body-testing will give you little benefit - at least as long you are not developing a spam toolkit. -- Regards Frank