spamassassin-users December 2011 archive
Main Archive Page > Month Archives  > spamassassin-users archives
spamassassin-users: dccproc/dccifd error

dccproc/dccifd error

From: Herbert J. Skuhra <hskuhra_at_nospam>
Date: Fri Dec 23 2011 - 00:18:58 GMT
To: users@spamassassin.apache.org

Hi,

I am using perl-5.10.1, amavisd-new 2.7.0, Mail-SpamAssassin-3.3.2 and dcc-dccd-1.3.140.

When I receive and scan a message with a 'X-DCC-xxx-Metrics'-header the following error is logged to maillog:

Dec 23 01:04:53 mx dccproc[81847]: unrecognized "many" usage: [-VdAQCHER] [-h homedir] [-m map] [-w whiteclnt] [-T tmpdir] [-a IP-address] [-f env_from] [-t targets] [-x exitcode] [-c type,[log-thold,][spam-thold]] [-g [not-]type] [-S header] [-i infile] [-o outfile] [-l logdir] [-B dnsbl-option] [-L ltype,facility.level] ; fatal error

After modifying DCC.pm the error is gone:

--- DCC.pm.bak 2011-12-22 23:03:34.000000000 +0100
+++ DCC.pm 2011-12-22 23:22:11.000000000 +0100
@@ -859,7 +859,7 @@
       }
       if ($tag eq "dcc:") {
        # query instead of report if there is an X-DCC header from upstream
- unshift(@opts, '-Q', 'many') if defined $permsgstatus->{dcc_raw_x_dcc};
+ unshift(@opts, '-Q') if defined $permsgstatus->{dcc_raw_x_dcc};
       } else {
        # learn or report spam
        unshift(@opts, '-t', 'many');

Is this the correct fix? Or is my setup broken?

Thanks.

-- Herbert