If this is your own custom web software, then it is as simple as adding a 
> call to spamassassin (or spamc) in the same area of the script that 
> validates things like the format of e-mail addresses.

I want to do spam score test for only the email content part of the email
message.  In that case, is it possible to call spamassassin or spamc?  Based
on spamc documentation here
http://spamassassin.apache.org/full/3.1.x/doc/spamc.html, it accepts only
email message as it command-line argument.  Is it possible to pass .html,
.txt extension file types, since I want to get spam score of the email
content part only and not the entire email message itself?



> If your web interface is pre-packaged piece of software, then it likely 
> sends mail via your local SMTP server by calling 'sendmail' or an 
> equivalent function that mimics that command. As long as the web client 
> handles SMTP rejections and notifies users of problems sending, you 
> should be able to run spamassassin normally in the context of your 
> outgoing mail server.
Mine is our own custom web software except that we've signed-up with a
third-party SMTP service provider to send emails, so this SMTP server is
completely managed and maintained by this third-party.  Yes, as you rightly
said, spamassassin is already running/integrated with this third-party SMTP
mail service provider.  What we want to achieve in our application is that
before actually sending mails, Users themselves can run spam score test on
one portion of their email message, that is their email content part.
-- 
View this message in context: 
http://old.nabble.com/SpamAssassin-Integration-tp28903365p28910672.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Reply via email to