Hi! I hope someone can help me with this issue. At our company we are building a mass mailing application. We have taken every measure to ensure that our clients aren't sending spam to their clients, but one section of our application still has potential of sending spam, which we do not want. This is the message subject and body. We have been using Spamassasin on our servers for some time now, so we thought we would simply send the message through it before sending, to check if it validates as spam or not. If it validates as spam, then we do not allow it to be sent. The problem is, we want to tell our client exactly which words, phrases or sentences are problematic, so we need Spamassassin to return the list of these words, phrases or sentences, so that we can tell our client what exactly is wrong with their message.
We have written a PHP script, which connects to spamd process on our server (on port 783) and it checks the message with no problems and if it's spam it doesn't allow sending it. We use the command 'REPORT' to ask the process to evaluate the message. With this configuration we get a nice report returned from spamd process, but in that report we get a list of broken rules, not the exact words, phrases or sentences, which we would need. So, we would need to get the problematic words, phrases or sentences from spamd. If it's not possible, maybe someone can help us find an alternative. Hope someone can help us! Our specifications: SpamAssassin version 3.3.1, running on Perl version 5.10.1, running on Ubuntu server version 10.04.1 with Linux kernel 2.6.32-26-generic-pae. Have a nice day, Rok -- View this message in context: http://old.nabble.com/Retrieve-specific-word%2C-phrases-or-sentances-from-mail-body-and-subject-tp31365331p31365331.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.