SpamAssassin 2.50 Problems

Julian Field mailscanner at ecs.soton.ac.uk
Sun Feb 23 11:55:45 GMT 2003


At 04:36 23/02/2003, you wrote:
>On Sat, Feb 22, 2003 at 03:00:21PM +0000, Julian Field wrote:
> > On a related subject, I have finally pursuaded SpamAssassin 2.50 to install
> > on a Raq, after an hour fighting it. The "make test" was failing horribly
> > with it being unable to work out the local hostname. Some sort of Taint
> > mode problem with Sys::Hostname. In the end I hardwired the hostname as
> > that was the only way to get it working.
>
>I've found the same problem before, but not on a Raq; I can't remember
>the details, but if <some method> of determining the hostname failed,
>Sys::Syslog somehow ended up calling `hostname` with an insecure path;

That was exactly the same error I hit yesterday.

>I stuck a comment in the main mailscanner script somewhere where I was
>setting the path explicitly to avoid the problem. Essentially a bug in
>Sys::Syslog (maybe it was going via Sys::Hostname, I don't recall)
>that it won't work reliably with taint mode on, and won't produce a
>sensible error message if you end up in the situation where it
>matters.

Indeed :-(
Is the Sys::Hostname in perl >=5.6 better?
--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list