Matt wrote:
Hi,
Is there anyway that I can get spamassassin to run in "mock" mode? That is, to only log what would be marked, but to not actually mark
it? I basically want to test the mail server to see what messages
would be marked and which ones would not.
Hi,
spamc -c
-c Just check if the message is spam or not. Set process exitcode to 1 if message is spam, 0 if not spam or processing failure occurs. Will print score/threshold to stdout (as ints) or 0/0 if there was an error. Combining -c and -E is a no-op, since -c implies the be- haviour of -E.
Regards,
Rick