Hi,
Yes, it does appear to silence the warning. I'm also using
DecodeShortURLs. I'll update the ticket.
If you can please also open a ticket for the plugins you are using to
update their code, that would be helpful as well.
Kartsten's GUDO plugin also uses uri_to_domain
What do we have to replace that function with?
Mail::SpamAssassin::Util::uri_to_domain($fubar)
->
$self->{main}->{registryboundaries}->uri_to_domain($fubar);
This appears to fix DecodeShortURLs.pm
--- DecodeShortURLs.pm.orig 2015-05-15 11:51:44.688835663 -0400
+++ DecodeShortURLs.pm 2015-05-15 11:39:35.020499066 -0400
@@ -486,7 +486,8 @@
[Mail::SpamAssassin::Util::uri_list_canonify (undef, $uri)];
foreach (@{$info->{cleaned}}) {
- my ($dom, $host) = Mail::SpamAssassin::Util::uri_to_domain($_);
+ my ($dom, $host) =
$info->{main}->{registryboundaries}->uri_to_domain($_);
if ($dom && !$info->{domains}->{$dom}) {
# 3.4 compatibility as per Marc Martinec