Re: Bug at SA website: SA 3.3.1 - Is "local.cf" read in TWICE when loading configuration files?
- <kd6lvw <at> yahoo.com>
2010-08-10 18:48:39 GMT
--- On Tue, 8/10/10, Kevin A. McGrail <KMcGrail <at> PCCC.com> wrote:
> > URL: https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6481
> >
> > Could we make certain that MIMEDefang isn't the cause of this? Thanks.
> >
> I'd be shocked if this isn't a mimedefang-filter or
> duplicated information in a cf file on your
> installation. I've used SA and MD in a number of ways
> and never seen this issue.
>
> I'm not ruling things out but I would check what cf files
> you have in /etc/mail and /etc/mail/spamasssassin and I'd
> post your mimedefang-filter for review.
I'm not going to post the entire filter, but there is only one reference to SA from my MD code:
sub filter_end {
my($entity) = <at> _;
return if message_rejected();
if ($Features{'SpamAssassin'} && (-s './INPUTMSG' < (128 * 1024))) {
my($hits, $req, $names, $report) = spam_assassin_check();
md_syslog('info',"$QueueID: Spam-Score=$hits Relay=$RelayAddr To=".
join(',', <at> Recipients) . ($names ? " Rules=$names" : ''));
action_insert_header('Authentication-Results', ...[DELETED]..., 0);
if ($hits >= ($req / 3.6)) {
action_add_part($entity, 'text/plain', '-suggest', $report,
'SpamReport.text', 'attachment');
if ($hits >= $req) {
...
(Continue reading)