On Sun, 10 Apr 2011, rokdominko wrote:
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.
That level of detail isn't available via spamd. You'd have to run
spamassassin in debug mode with rules tracing and then parse the results.
Take a look at the output from:
spamassassin -t --debug area=rules < your_message_file
--
John Hardin KA7OHZ http://www.impsec.org/~jhardin/
jhar...@impsec.org FALaholic #11174 pgpk -a jhar...@impsec.org
key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
...every time I sit down in front of a Windows machine I feel as
if the computer is just a place for the manufacturers to put their
advertising. -- fwadling on Y! SCOX
-----------------------------------------------------------------------
3 days until Thomas Jefferson's 268th Birthday