The following patches apply to SA 3.0.4 only. Adds a new parameter to local.cf: use_spamcop ( 0 | 1 )
*** Conf.pm.orig Mon Jun 6 04:31:23 2005 --- Conf.pm Wed Sep 14 23:27:06 2005 *************** *** 1108,1113 **** --- 1108,1125 ---- } }); + =item use_spamcop ( 0 | 1 ) (default: 1) + + Whether to use SpamCop, if it is available. + + =cut + + push (@cmds, { + setting => 'use_spamcop', + default => 1, + type => $CONF_TYPE_BOOL + }); + =item spamcop_from_address [EMAIL PROTECTED] (default: none) This address is used during manual reports to SpamCop as the From: *** Reporter.pm.orig Sat Mar 19 02:06:27 2005 --- Reporter.pm Wed Sep 14 23:19:51 2005 *************** *** 394,399 **** --- 394,401 ---- sub spamcop_report { my ($self, $original) = @_; + if (!$self->{conf}->{use_spamcop}) { return 0; } + # check date my $header = $original; $header =~ s/\r?\n\r?\n.*//s; Regards, Lefteris