Good morning, James,

On Mon, 24 Nov 2003, James Nonya wrote:

> On Mon, 24 Nov 2003 10:15:35 -0500 (EST)
> "William Stearns" <[EMAIL PROTECTED]> wrote:
> 
> > On Mon, 24 Nov 2003, James Nonya wrote:
> > 
> > > I'm running Slackware 8.1 which comes with perl
> 5.6.1.
> > >  I've been running spamd just fine since 2.55 was
> > > released.  I compile and install SA 2.60 and all
> goes
> > > well.  When I try to start spamd here's what I
> get:
> > > 
> > > Insecure directory in $ENV{PATH} while running
> with -T
> > > switch at /usr/lib/perl5/Cwd.pm line 92.
> > > 
> > > I am running spamd as user filter (running this
> setup
> > > ->
> > >
> http://www.advosys.ca/papers/postfix-filtering.html). 
> > > Filter has:
> > > 
> > > /bin:/usr/bin:/usr/local/bin set as the $PATH. 
> Anyone
> > > have any leads on why this is happening and how I
> can
> > > fix it?
> > 
> >     I would _guess_ that one of the directories in your
> path is either 
> > 1) owned by a non-root user or group, or 2) writable
> by someone other than 
> > root, neither of which is safe.  This might include:
> > /bin
> > /usr
> > /usr/bin
> > /usr/local
> > /usr/local/bin
> > 
> 
> Thanks for the quick reply :)  /bin, /usr/bin, and
> /usr/local/bin were set at root:bin (I have NO idea
> why).  I set this to root:root but still have the same
> issue...could this be a perl/spamassassin
> compatability issue?  Thanks!

        Did you check the modes on _all 5_ of those components as well?  
They should be neither group nor world writable.  (For any readers that 
may not know how to check, run this:

ls -Ald /bin /usr /usr/bin /usr/local /usr/local/bin

        The left hand column of every line will start with flags that are 
something like:

-rwxr-xr-x

        The space between the second r and the second x, and the space 
between the third r and the third x should both be dashes instead of w's.

-rwxr-xr-x
     ^  ^

        James, you might also see if the spamassassin files you installed 
are owned by anything other than root.root, or are writeable by anythone 
other than root.  How about /etc/mail?  /etc/mail/spamassassin?  /sbin?  
/usr/sbin?  Are all the users' home directories owned by themselves, and 
not writable by anyone else?
        Cheers,
        - Bill

---------------------------------------------------------------------------
        "If the book be false in its facts, disprove them; if false in 
its reasoning, refute it.  But, for God's sake, let us freely hear both
sides."
        -- Thomas Jefferson, 1814
(Courtesy of "M. David Leonard" <[EMAIL PROTECTED]>)
--------------------------------------------------------------------------
William Stearns ([EMAIL PROTECTED]).  Mason, Buildkernel, freedups, p0f,
rsync-backup, ssh-keyinstall, dns-check, more at:   http://www.stearns.org
Linux articles at:                         http://www.opensourcedigest.com
--------------------------------------------------------------------------



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to