LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-28-2003, 02:51 PM   #1
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
Error on Neomail (webmail)


After my upgrade to Slack 9 i get this error when trying to open Neomail.

Can't locate neomail.conf in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /var/neomail) at /var/www/cgi-bin/neomail.pl line 37
 
Old 05-28-2003, 03:00 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Well it looks like the neomail.conf file isn't in the perl include path.
 
Old 05-28-2003, 03:21 PM   #3
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Original Poster
Rep: Reputation: 47
how/where do i see the paths
if that is a list of paths the last one /var/neomail is where it is located
 
Old 05-28-2003, 03:28 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
That is the list of paths. Are you sure that it has the correct permissions and the name is in the correct case?
 
Old 05-28-2003, 03:49 PM   #5
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Original Poster
Rep: Reputation: 47
the folder /var/neomail is root:mail
the file neomail.conf is root:mail

the neomail.pl line 37 is:
require "neomail.conf";

what if i change that to:
require "/var/neomail/neomail.conf";

do you think that will do anything, i don't know perl
 
Old 05-28-2003, 04:00 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Since it is a web app you will need to make sure that the user your webserver runs as has access to the file too.

You could also take a look in your webserver's error log to see if there are any more clues.
 
Old 05-28-2003, 04:07 PM   #7
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Original Poster
Rep: Reputation: 47
Currently i have
User apache
Group root
in the httpd.conf
 
Old 05-28-2003, 04:14 PM   #8
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79

If I were you I'd forget about neomail and stop running your webser as root.

If you give your web server root privilages then anyone that gains control of your web server gains control of your whole system.
 
Old 05-28-2003, 04:18 PM   #9
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Original Poster
Rep: Reputation: 47
OK
i changed it to nobody and nogroup

now my other webmail pyWM doesn't work
i will have to create a user to run it under that has permissions.
Thank you for all your help
Have a good one
 
Old 05-28-2003, 04:23 PM   #10
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You probably have both a user and group called apache - most people use those.
 
Old 05-28-2003, 04:47 PM   #11
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
From the neomail FAQ:
Quote:
Q. NeoMail is installed, but I get a message about it not being able to find
neomail.conf in any of the @INC directories!

A. This is usually a permissions thing, make sure that neomail.pl and
neomail-prefs.pl have the proper permissions to read the /var/neomail
directory, and that suidperl is present and functioning properly. This
is often not the case on Slackware Linux. When suidperl issues arise,
most users have reported success after recompiling perl from scratch, making
sure to say "no" when asked if their kernel is suid-script secure, and "yes"
when asked if they want to use suid script emulation during the Configure
script.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Users can't log into Webmail - Error 500 Twistedlizzard Linux - Software 17 06-14-2005 04:37 AM
imap error in webmail jkmartha Linux - Software 3 05-09-2005 08:33 AM
webmail error tej Linux - Software 2 08-27-2004 05:49 AM
open webmail error "Can't create your user directory! 7/mail (No such file or directo ko_zlynn Linux - Networking 1 12-21-2003 04:00 AM
Neomail mikeshn Linux - Software 0 11-14-2003 03:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration