Microsoft
Software
Hardware
Network
Question : Using SpamAssassin's Command-line Spam Score Test
Hi,
We're running a web-based application. It allows users to send regular and bulk emails from the application. We've signed-up with a third-party SMTP service provider for this purpose, so this SMTP server is completely managed and maintained by this third-party.
To increase the delivery rate of the emails sent by the Users from our application, so that it reaches recipient's Inbox rather than Junk E-mail folder, we would like to introduce a feature called "
Test Spam Score
" in mail composing page itself. Using this feature, Users themselves can test the spam score of the email content before they send, and can make any corrections in email content if need.
I also heard and read about SpamAssassin - a mail filter to identify spam and widely deployed/integrated with many well-known mail servers (MTA).
My questions are:
1) If I want to use SpamAssassin in my application
only to test spam score
of the email content that User wish to send, do I need to install the full package of the SpamAssassin binary, even though I want to use only the command-line option of this package?
This is something equivalent to building a spam checker tool in-house within my application. Google "online spam checker tool" to understand better what I'm expecting.
2) Can we test for spam score of HTML (.html) and Plain text (.txt) with SpamAssassin apart from .eml? In this case, how does SpamAssassin differentiates between different formats? Is it something based on file extensions like .htm, .html, .eml, .txt, etc. or something else which I may not be aware of?
Relevant documentation links specific to this particular topic are appreciated.
Experts opinion/suggestion/advice are appreciated.
Answer : Using SpamAssassin's Command-line Spam Score Test
All:
Meantime, I posted the same question with SpamAssassin's User mailing list and found a solution to my problem.
Check here:
http://old.nabble.com
/SpamAssas
sin-Integr
ation-
to28
903365.htm
l
Answers to my questions:
1) If I want to use SpamAssassin ...
Yes, the full package should be installed to test spam score.
2) Can we test for spam score of HTML ...
No, spam score cannot be tested only for email content. It must be assembled/constructed
as a valid looking email message (with headers), because SpamAssassin accepts only
email message and not email body/content to test spam score.
Random Solutions
which folder is growing
Usin SSMS how do I add a unique ID field?
Background Image Not Showing
Submenu items not visible in IE8
OLE control not displaying .jpg
Cannot access voicemail on Exchange 2010 from OCS 2007R2. Failure Type 80004005
commit with SQL%ROWCOUNT
Highlight Row Based On Column Value
Hide and Unhide tables, queries, forms, code, etc
VB.Net to excel