On 3/5/2015 1:01 PM, Reindl Harald wrote:
according to spamc --help "-R" and "--full" is the same
in fact in case of a ham-message only -R works as expected
--full behaves identical zu --full-spam

-r, --full-spam     Print full report for messages identified as spam.
-R, --full          Print full report for all messages.
____________________________

BROKEN: /usr/bin/spamc --full --port=10029 < sample.eml
OK:     /usr/bin/spamc R --port=10029 < sample.eml


The spamc code seems to concur -R and --full are the same option:

       { "full", no_argument, 0, 'R' }

Looking in the code, nothing jumps out as a logic issue but testing on my command line with ham shows problems

spamc -R -d spamd.pccc.com < /tmp/1
<Incorrectly starts with the score/threshold which could just be a documentation issue and then the report>

spamc --full -d spamd.pccc.com < /tmp/1
<prints nothing.  I would expect it to do the same as -R>

Testing on my command line spam:

spamc -r -d spamd.pccc.com < /tmp/2
spamc --full -d spamd.pccc.com < /tmp/2
<Identical output of just the report>

The code for R sets flags |= SPAMC_REPORT;

Please open a bugzilla report.

Regards,
KAM

Reply via email to