severity 335279 normal
merge 335279 332906
thanks

On Sat, Nov 05, 2005 at 07:18:16PM -0800, Don Armstrong wrote:
> On Sun, 23 Oct 2005, Rogério Brito wrote:
> > I'm also seeing the same problem reported by the original poster,
> > but, in my case, I had to install more packages to make the daemon
> > start. If I remember correctly, I had to install:
> > 
> > libnet-dns-perl
> > libmail-spf-query-perl
> > libsys-hostname-long-perl
> > libsocket6-perl
> 
> libnet-dns-perl is now required by M::SA::Dns

If it's not installed, a warning message is issued, spamassassin still
runs. (If it's not, something wierd is happening -- it should issue an
error, but keep going.)
 
> From what I can tell, libsocket6-perl isn't strictly required unless
> you have a IPv6 nameserver. [use constant HAS_SOCKET_INET6 => eval {
> require IO::Socket::INET6 }; in M::SA::DnsResolver]

This is a bug in SpamAssassin -- if you use an IPv6 nameserver, it'll
refuse to start up if you have libnet-dns-perl, but not
libsocket6-perl. I'd rather fix the bug than raise the dependency.

> libmail-spf-query-perl should only be required if you're using the SPF
> plugin.

Right. Again, there's a warning message issued if you don't have it,
but it is not fatal.

> I don't know why you'd need libsys-hostname-long-perl, as the only
> thing that appears to be used is Sys::Hostname, not
> Sys::Hostname::Long (unless one of the above modules has a dependency
> on it that isn't declared.)

That's a bug in libmail-spf-query-perl. I believe that the latest
version of that package now has libsys-hostname-long-perl as
Suggests. I suspect this means it should be at least a Suggests: for
spamassassin.

> I'll make an NMU into the delayed queue sometime tomorrow to fix this
> problem unless someone has some corrections to make to it.

Please don't.

I'll admit I'm a little short on time, and so I haven't appropriately
responded to these reports but these are not bugs, strictly speaking.

As far as I can tell, there is no module that needs to be added to
spamassassin's Depends: or Recommends:.

The bug is that the error messages for "missing" perl modules is too
"loud". SpamAssassin does run just fine without libnet-dns-perl
(unless you use an ipv6 nameserver and don't have libsocket6-perl),
and without libmail-spf-query-perl. The error messages even go away if
you set "dns_available no" in /etc/spamassassin/local.cf and comment
out "loadplugin Mail::SpamAssassin::Plugin::SPF" in
/etc/spamassassin/init.pre


-- 
Duncan Findlay

Attachment: signature.asc
Description: Digital signature

Reply via email to