On Wed, 1 Apr 2009, Asim Sinan YUKSEL wrote:

Cool thanks. I will try it

On Wed, Apr 1, 2009 at 8:38 PM, John Hardin <jhar...@impsec.org> wrote:

So basically you're running a test message through SA. Make a subdirectory
under your home directory (do you have command line access?) and copy all of
the files from /etc/mail/spamassassin there, then you can use the command I
use for my testing:

 spamassassin -L -t --siteconfigpath `pwd` --debug area=all,rules <spam.msg
    > result 2>&1 && less result

Omit the -L if you want to include network tests.

...er, in case it isn't clear, that command line has to be run while you're in the same directory as your local copy of the config files. :)

--
 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
-----------------------------------------------------------------------
  The problem is when people look at Yahoo, slashdot, or groklaw and
  jump from obvious and correct observations like "Oh my God, this
  place is teeming with utter morons" to incorrect conclusions like
  "there's nothing of value here".        -- Al Petrofsky, in Y! SCOX
-----------------------------------------------------------------------
 Today: April Fools' day

Reply via email to