|
|
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/SpamAssassin-Integration-to28903365.html
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.
|
|
|
|