Nope on the jail Q. What's more weird is if I move my @PATH = File::Spec->path(); Dbg ("@PATH"); to the head of Dns.pm and change it from a dbg call to a print it works.
With this debug line, the return is just debug: _=/usr/local/bin/spamassassin So it looks like the only thing in the environment for the the subroutine is that last command used before SA launched. If I move it to the head of Dns.pm and change it from a dbg call to a print statement then it prints the whole env as expected. -----Original Message----- From: Malte S. Stretz [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 9:03 AM To: [EMAIL PROTECTED] Subject: Re: [SAtalk] Dccproc, pyzor and 4.50 Hi Bobby, On Tuesday 24 September 2002 02:45 CET Rose, Bobby wrote: > File::Spec is installed on Solaris 8 and I tested File::Spec->path(); > in a simple perl script and the array contains data but when used in > Dns.pm it doesn't contain anything. I even threw in a > > my @PATH = File::Spec->path(); > dbg ("@PATH"); > > Into sub is_dcc_available routine and the array is empty. Any ideas > why this might be? This is why dcc and pyzor isn't working for me and > $self->{conf}->{dcc_path} doesn't exist yet. That's a very weird error. Do you probably run spamassassin in a very restricted jail which doesn't have any PATH set? Try to put this line into is_dcc_available; it will spit out your whole environment via dbg: map { dbg("$_=$ENV{$_}") } sort keys %ENV Malte -- --- Coding is art. -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk