[Bug 8343] New: With DNS disabled: Can't call method "bgsend" on an undefined value

[email protected]
Newsgroups gmane.mail.spam.spamassassin.devel
Message-ID <[email protected]/SpamAssassin/>
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8343

            Bug ID: 8343
           Summary: With DNS disabled: Can't call method "bgsend" on an
                    undefined value
           Product: Spamassassin
           Version: 4.0.2
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Libraries
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: Undefined

In version 4.0.2-rc1 spamd logs the following error when it's started with
--local:

dns: bad dns reply: Can't call method "bgsend" on an undefined value at
/usr/share/perl5/Mail/SpamAssassin/PerMsgStatus.pm line 2919, <GEN6> line 170.

Seems like it was introduced in
https://github.com/apache/spamassassin/commit/4a6643c72fe5cd6296b2e67eb0ccc368a4987caa
and is missing a is_dns_available() check?

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.