Skip to content

Use of uninitialized value $msgscore #4

Description

@MarvinOl

I'm getting these warnings/errors on every mail going thru spamassassin:
spamd[80474]: Use of uninitialized value $msgscore in addition (+) at /usr/local/etc/mail/spamassassin/TxRep.pm line 1414.
spamd[80474]: Use of uninitialized value $msgscore in subtraction (-) at /usr/local/etc/mail/spamassassin/TxRep.pm line 1414.

Setup is FreeBSD 10.0 with spamassassin-3.4.0_9 from pkg and latest TxRep.pm from this git placed into /usr/local/etc/mail/spamassassin/ and local.cf addition:
loadplugin Mail::SpamAssassin::Plugin::TxRep TxRep.pm
include 60_txreputation.cf
use_txrep 1

/usr/local/etc/mail/spamassassin/60_txreputation.cf:
header TXREP eval:check_senders_reputation()
describe TXREP Score normalizing based on sender's reputation
tflags TXREP userconf noautolearn
priority TXREP 1000

The plugin itself seems to be working and is putting data to tx-reputation file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions