Mailing List Archive

Mail::SPF::Query bug report
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi Meng et al --

just a quick note on an error message from Mail::SPF::Query 1.996:

Apr 20 20:19:55 dogma spamd[14371]: _***_*** WARNING!!! The program has
attempted to call the method_*** "char_str_list" for the following RR
object:_***_*** linux-thinkpad.org._79827_IN_TXT_" Baden-Wuerttemberg
"_***_*** This object doesn't have a method "char_str_list". THIS IS A
BUG _*** IN THE CALLING SOFTWARE, which has incorrectly assumed that_***
the object would be of a particular t ype. The calling_*** software
should check the type of each RR object before_*** calling any of its
metho ds._***_*** Net::DNS has returned undef to the caller._***_ at
/usr/local/share/perl/5.6.1/Mail/SPF/Query.p m line 1182


I think it's pretty self-explanatory. ;)

- --j.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Exmh CVS

iD8DBQFAhXgTQTcbUG5Y7woRAuVOAJ9CCKHH/3yk3vIVfFxGYv/lzm3UsQCgte6O
vqpHc4+TLMr3U4eIDd8mQVY=
=jlWK
-----END PGP SIGNATURE-----

-------
To unsubscribe, change your address, or temporarily deactivate your subscription,
please go to http://v2.listbox.com/member/?listname=spf-devel@v2.listbox.com
Re: Mail::SPF::Query bug report [ In reply to ]
nice error, thanks.

what version of Net::DNS are you running?

On Tue, Apr 20, 2004 at 12:20:51PM -0700, Justin Mason wrote:
|
| Hi Meng et al --
|
| just a quick note on an error message from Mail::SPF::Query 1.996:
|
| Apr 20 20:19:55 dogma spamd[14371]: _***_*** WARNING!!! The program has
| attempted to call the method_*** "char_str_list" for the following RR
| object:_***_*** linux-thinkpad.org._79827_IN_TXT_" Baden-Wuerttemberg
| "_***_*** This object doesn't have a method "char_str_list". THIS IS A
| BUG _*** IN THE CALLING SOFTWARE, which has incorrectly assumed that_***
| the object would be of a particular t ype. The calling_*** software
| should check the type of each RR object before_*** calling any of its
| metho ds._***_*** Net::DNS has returned undef to the caller._***_ at
| /usr/local/share/perl/5.6.1/Mail/SPF/Query.p m line 1182
|
|
| I think it's pretty self-explanatory. ;)
|
| --j.
|
| -------
| To unsubscribe, change your address, or temporarily deactivate your subscription,
| please go to http://v2.listbox.com/member/?listname=spf-devel@v2.listbox.com
|

-------
To unsubscribe, change your address, or temporarily deactivate your subscription,
please go to http://v2.listbox.com/member/?listname=spf-devel@v2.listbox.com
Re: Mail::SPF::Query bug report [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Meng Weng Wong writes:
>nice error, thanks.
>
>what version of Net::DNS are you running?

0.47, it seems. (on Debian stable, BTW)

- --j.

>On Tue, Apr 20, 2004 at 12:20:51PM -0700, Justin Mason wrote:
>|
>| Hi Meng et al --
>|
>| just a quick note on an error message from Mail::SPF::Query 1.996:
>|
>| Apr 20 20:19:55 dogma spamd[14371]: _***_*** WARNING!!! The program has
>| attempted to call the method_*** "char_str_list" for the following RR
>| object:_***_*** linux-thinkpad.org._79827_IN_TXT_" Baden-Wuerttemberg
>| "_***_*** This object doesn't have a method "char_str_list". THIS IS A
>| BUG _*** IN THE CALLING SOFTWARE, which has incorrectly assumed that_***
>| the object would be of a particular t ype. The calling_*** software
>| should check the type of each RR object before_*** calling any of its
>| metho ds._***_*** Net::DNS has returned undef to the caller._***_ at
>| /usr/local/share/perl/5.6.1/Mail/SPF/Query.p m line 1182
>|
>|
>| I think it's pretty self-explanatory. ;)
>|
>| --j.
>|
>| -------
>| To unsubscribe, change your address, or temporarily deactivate your subscription,
>| please go to http://v2.listbox.com/member/?listname=spf-devel@v2.listbox.com
>|
>
>-------
>To unsubscribe, change your address, or temporarily deactivate your subscription,
>please go to http://v2.listbox.com/member/?listname=spf-devel@v2.listbox.com
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Exmh CVS

iD8DBQFAhX5WQTcbUG5Y7woRAuIqAJ9or5Jg8f8EbkowiIgFlXzdflPtAACggHRB
csdQ1gmfwd7s4v7r9yAH0Kc=
=8T2X
-----END PGP SIGNATURE-----

-------
To unsubscribe, change your address, or temporarily deactivate your subscription,
please go to http://v2.listbox.com/member/?listname=spf-devel@v2.listbox.com
Re: Mail::SPF::Query bug report [ In reply to ]
On Tue, Apr 20, 2004 at 12:47:34PM -0700, Justin Mason wrote:
|
| >what version of Net::DNS are you running?
|
| 0.47, it seems. (on Debian stable, BTW)
|

Hm. Looking into this, TXT types are supposed to have char_str_list.

Is the error reproducible?

My call to spfquery.pl with 1.996 does the right thing.

I know this is an unlikely question for a SpamAssassin developer, but
could it be that your spamd was started before 0.47 was installed?

20040424-22:08:21 mengwong@dumbo:/var/tmp% /icg/bin/perl spfquery.pl.new -ipv4=1.2.3.4 -sender=foo@linux-thinkpad.org -helo=foo.com -debug=1
| linux-thinkpad.org new: ipv4=1.2.3.4, sender=foo@linux-thinkpad.org, helo=foo.com
| foo linux-thinkpad.org localpart is foo
| foo linux-thinkpad.org DirectiveSet override: is linux-thinkpad.org in the override hash?
| foo linux-thinkpad.org DirectiveSet override: is *.org in the override hash?
| foo linux-thinkpad.org DirectiveSet override: is *. in the override hash?
| foo linux-thinkpad.org DirectiveSet->new(): doing TXT query on linux-thinkpad.org
| foo linux-thinkpad.org myquery: doing TXT query on linux-thinkpad.org
| foo linux-thinkpad.org DirectiveSet->new(): TXT query on linux-thinkpad.org returned error=, last_dns_error=NOERROR
| foo linux-thinkpad.org DirectiveSet->new(): SPF policy:
| foo linux-thinkpad.org no SPF record found for linux-thinkpad.org
none
SPF: domain of sender foo@linux-thinkpad.org does not designate mailers
spfquery: domain of foo@linux-thinkpad.org does not designate permitted sender hosts
Received-SPF: none (spfquery: domain of foo@linux-thinkpad.org does not designate permitted sender hosts) client-ip=1.2.3.4; envelope-from=foo@linux-thinkpad.org; helo=foo.com;
20040424-22:08:44 mengwong@dumbo:/var/tmp%

20040424-22:08:18 mengwong@dumbo:/var/tmp% dig linux-thinkpad.org txt

; <<>> DiG 9.2.1 <<>> linux-thinkpad.org txt
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5711
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;linux-thinkpad.org. IN TXT

;; ANSWER SECTION:
linux-thinkpad.org. 86281 IN TXT " DE "
linux-thinkpad.org. 86281 IN TXT " Max-Eyth-Strasse 35 "
linux-thinkpad.org. 86281 IN TXT " levigo holding gmbh "
linux-thinkpad.org. 86281 IN TXT " 71088 Holzgerlingen "
linux-thinkpad.org. 86281 IN TXT " Baden-Wuerttemberg "

;; Query time: 3 msec
;; SERVER: 208.210.125.60#53(208.210.125.60)
;; WHEN: Sat Apr 24 22:08:21 2004
;; MSG SIZE rcvd: 361

20040424-22:08:21 mengwong@dumbo:/var/tmp%

| just a quick note on an error message from Mail::SPF::Query 1.996:
|
| Apr 20 20:19:55 dogma spamd[14371]: _***_*** WARNING!!! The program has
| attempted to call the method_*** "char_str_list" for the following RR
| object:_***_*** linux-thinkpad.org._79827_IN_TXT_" Baden-Wuerttemberg
| "_***_*** This object doesn't have a method "char_str_list". THIS IS A
| BUG _*** IN THE CALLING SOFTWARE, which has incorrectly assumed that_***
| the object would be of a particular t ype. The calling_*** software
| should check the type of each RR object before_*** calling any of its
| metho ds._***_*** Net::DNS has returned undef to the caller._***_ at
| /usr/local/share/perl/5.6.1/Mail/SPF/Query.p m line 1182
|

-------
To unsubscribe, change your address, or temporarily deactivate your subscription,
please go to http://v2.listbox.com/member/?listname=spf-devel@v2.listbox.com
Re: Mail::SPF::Query bug report [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Meng Weng Wong writes:
> On Tue, Apr 20, 2004 at 12:47:34PM -0700, Justin Mason wrote:
> |
> | >what version of Net::DNS are you running?
> |
> | 0.47, it seems. (on Debian stable, BTW)
> |
>
> Hm. Looking into this, TXT types are supposed to have char_str_list.
>
> Is the error reproducible?
>
> My call to spfquery.pl with 1.996 does the right thing.
>
> I know this is an unlikely question for a SpamAssassin developer, but
> could it be that your spamd was started before 0.47 was installed?

doesn't look like it. It looks like my spamd was started on April 14,
Net::DNS modules upgraded April 1.

I'll restart and keep an eye out, to be sure.

- --j.

> 20040424-22:08:21 mengwong@dumbo:/var/tmp% /icg/bin/perl spfquery.pl.new -ipv4=1.2.3.4 -sender=foo@linux-thinkpad.org -helo=foo.com -debug=1
> | linux-thinkpad.org new: ipv4=1.2.3.4, sender=foo@linux-thinkpad.org, helo=foo.com
> | foo linux-thinkpad.org localpart is foo
> | foo linux-thinkpad.org DirectiveSet override: is linux-thinkpad.org in the override hash?
> | foo linux-thinkpad.org DirectiveSet override: is *.org in the override hash?
> | foo linux-thinkpad.org DirectiveSet override: is *. in the override hash?
> | foo linux-thinkpad.org DirectiveSet->new(): doing TXT query on linux-thinkpad.org
> | foo linux-thinkpad.org myquery: doing TXT query on linux-thinkpad.org
> | foo linux-thinkpad.org DirectiveSet->new(): TXT query on linux-thinkpad.org returned error=, last_dns_error=NOERROR
> | foo linux-thinkpad.org DirectiveSet->new(): SPF policy:
> | foo linux-thinkpad.org no SPF record found for linux-thinkpad.org
> none
> SPF: domain of sender foo@linux-thinkpad.org does not designate mailers
> spfquery: domain of foo@linux-thinkpad.org does not designate permitted sender hosts
> Received-SPF: none (spfquery: domain of foo@linux-thinkpad.org does not designate permitted sender hosts) client-ip=1.2.3.4; envelope-from=foo@linux-thinkpad.org; helo=foo.com;
> 20040424-22:08:44 mengwong@dumbo:/var/tmp%
>
> 20040424-22:08:18 mengwong@dumbo:/var/tmp% dig linux-thinkpad.org txt
>
> ; <<>> DiG 9.2.1 <<>> linux-thinkpad.org txt
> ;; global options: printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5711
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0
>
> ;; QUESTION SECTION:
> ;linux-thinkpad.org. IN TXT
>
> ;; ANSWER SECTION:
> linux-thinkpad.org. 86281 IN TXT " DE "
> linux-thinkpad.org. 86281 IN TXT " Max-Eyth-Strasse 35 "
> linux-thinkpad.org. 86281 IN TXT " levigo holding gmbh "
> linux-thinkpad.org. 86281 IN TXT " 71088 Holzgerlingen "
> linux-thinkpad.org. 86281 IN TXT " Baden-Wuerttemberg "
>
> ;; Query time: 3 msec
> ;; SERVER: 208.210.125.60#53(208.210.125.60)
> ;; WHEN: Sat Apr 24 22:08:21 2004
> ;; MSG SIZE rcvd: 361
>
> 20040424-22:08:21 mengwong@dumbo:/var/tmp%
>
> | just a quick note on an error message from Mail::SPF::Query 1.996:
> |
> | Apr 20 20:19:55 dogma spamd[14371]: _***_*** WARNING!!! The program has
> | attempted to call the method_*** "char_str_list" for the following RR
> | object:_***_*** linux-thinkpad.org._79827_IN_TXT_" Baden-Wuerttemberg
> | "_***_*** This object doesn't have a method "char_str_list". THIS IS A
> | BUG _*** IN THE CALLING SOFTWARE, which has incorrectly assumed that_***
> | the object would be of a particular t ype. The calling_*** software
> | should check the type of each RR object before_*** calling any of its
> | metho ds._***_*** Net::DNS has returned undef to the caller._***_ at
> | /usr/local/share/perl/5.6.1/Mail/SPF/Query.p m line 1182
> |
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Exmh CVS

iD8DBQFAjKxtQTcbUG5Y7woRAlcgAKCLKVUM2+YbbKk6ciTBHUMT7LYP/wCbBzWC
6D65u1k0W2EDVpnU+0tbSIg=
=d0aa
-----END PGP SIGNATURE-----

-------
To unsubscribe, change your address, or temporarily deactivate your subscription,
please go to http://v2.listbox.com/member/?listname=spf-devel@v2.listbox.com
Re: Mail::SPF::Query bug report [ In reply to ]
On Sun, Apr 25, 2004 at 11:30:05PM -0700, Justin Mason wrote:
| > I know this is an unlikely question for a SpamAssassin developer, but
| > could it be that your spamd was started before 0.47 was installed?
|
| doesn't look like it. It looks like my spamd was started on April 14,
| Net::DNS modules upgraded April 1.

It's weird, because I do typecheck the RR answers.

my @answers = grep { lc $_->type eq lc $qtype } $resquery->answer;

| > | just a quick note on an error message from Mail::SPF::Query 1.996:
| > |
| > | Apr 20 20:19:55 dogma spamd[14371]: _***_*** WARNING!!! The program has
| > | attempted to call the method_*** "char_str_list" for the following RR
| > | object:_***_*** linux-thinkpad.org._79827_IN_TXT_" Baden-Wuerttemberg
| > | "_***_*** This object doesn't have a method "char_str_list". THIS IS A
| > | BUG _*** IN THE CALLING SOFTWARE, which has incorrectly assumed that_***
| > | the object would be of a particular t ype. The calling_*** software
| > | should check the type of each RR object before_*** calling any of its
| > | metho ds._***_*** Net::DNS has returned undef to the caller._***_ at
| > | /usr/local/share/perl/5.6.1/Mail/SPF/Query.p m line 1182
| > |
|
| -------
| To unsubscribe, change your address, or temporarily deactivate your subscription,
| please go to http://v2.listbox.com/member/?listname=spf-devel@v2.listbox.com
|

-------
To unsubscribe, change your address, or temporarily deactivate your subscription,
please go to http://v2.listbox.com/member/?listname=spf-devel@v2.listbox.com