Good lord, I hope that's not the general solution on solaris 8.

That would produce a result of:

foo.ucsc.edu.ucsc.edu

(as the hostname returned by "hostname" is already fully qualified on our systems, both because it SHOULD BE, and because MIT kerberos wants/needs it to be)

or

foo.ucsc.edu.

(trailing dot, possibly with spaces after it, because domainname is blank)


Sys::Hostname::Long has been screwed up for as long as I've seen it mentioned in connection to SA. I hope its developer manages to turn it into something sane, at some point.



Rosenbaum, Larry M. wrote:
In Long.pm, go to line 91 and change this

     my $tmp = `hostname` . '.' . `domainname`;

to this

     my $tmph = `hostname`;
     my $tmpd = `domainname`;
     my $tmp = "$tmph.$tmpd";

-----Original Message-----
From: John Goubeaux [mailto:[EMAIL PROTECTED]
Posted At: Friday, October 06, 2006 12:54 PM
Posted To: sa-users
Conversation: spamd Sys-Hostname-Long-1.4 error
Subject: spamd Sys-Hostname-Long-1.4 error


I am getting the following error generated from spamd, apparently due
to the fact that the  sys::hostname::long module behaves differently
on different OSs  in this case Solaris 8.
While i realize this is not specific to spmassassin and a perl /OS
issue  was wondering if anyone running SA on Solaris has seen and
been able to eliminate this error?

SpamAssassin version 3.1.5
   running on Perl version 5.8.5

Oct  5 09:28:21 kady spamd[870]: Insecure dependency in `` while
running with -T switch at
/usr/local/perl-5.8.5/lib/site_perl/5.8.5/Sys/Hostname/Long.pm line
91, <GEN26746> line 77.

any clues are appreciated !   -john

--
John Goubeaux
Systems Administrator
Gevirtz Graduate School of Education
UC Santa Barbara
Phelps Hall 3534
805 893-8190

Reply via email to