Michael,

> was using this on SA 3.2.5 in local.cf
> dcc_options -R -x 0
> dcc_home /usr/local/dcc
> dcc_dccifd_path /usr/local/dcc/dccifd
> 
> now, on SA 3.30, I get this (constantly).
> 
> Feb  1 07:19:14 mx1 dccifd[10069]: unrecognized option value: "-R -x 0"
> 
> note, that dcc_options are options that are supposed to be sent to the
> dccproc command, NOT dccifd.


Wrong options. Please open a bug report.
I believe this is the fix:


--- lib/Mail/SpamAssassin/Plugin/DCC.pm (revision 905273)
+++ lib/Mail/SpamAssassin/Plugin/DCC.pm (working copy)
@@ -679,7 +679,7 @@
   my $left;
   my $right;
   my $timeout = $conf->{dcc_timeout};
-  my $opts = $conf->{dcc_options};
+  my $opts = $conf->{dccifd_options};
   my @opts = !defined $opts ? () : split(' ',$opts);
 
   $permsgstatus->enter_helper_run_mode();
@@ -906,7 +906,7 @@
   my $conf = $self->{main}->{conf};
   my $timeout = $conf->{dcc_timeout};
   # instead of header use whatever the report option is
-  my $opts = $conf->{dcc_options};
+  my $opts = $conf->{dccifd_options};
   my @opts = !defined $opts ? () : split(' ',$opts);
 
   $options->{report}->enter_helper_run_mode();



Mark

Reply via email to