http://bugzilla.spamassassin.org/show_bug.cgi?id=3794
------- Additional Comments From [EMAIL PROTECTED] 2004-09-20 17:53 -------
Subject: Re: Dns.pm: Can't call method "qname" on an undefined value
Just to clarify why the supplied sample mail does not cause
'spamassassin -t' to die. Prepend a 'Return-Path: <[EMAIL PROTECTED]>'
to it, and the spamassassin will die just as well.
The difference is in the process_dnsbl_result where an empty
$self->{sender_host}, (i.e. envelope sender address) causes
further checks on DNS query result (on From address) to be skipped
(is this expected behaviour?).
In statement:
my $question = ($packet->question)[0];
the ($packet->question) is an empty list, which is not against
Net::DNS::Packet specifications. There may be 0, 1, or any other
number of items in the list, at least theoretically.
Mark
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.