Re: SV: SV: SV: SV: VB: After upgrading to RH8 neomail wont work!
Andy Herrero <[email protected]>
| Newsgroups | gmane.mail.neomail.general |
|---|---|
| Message-ID | <[email protected]> |
I managed to replicate this behavior when the first script doesn't have access to the second (which it "requires" and is found in the path). Could this (inspite of the suid-nature of neomail) be a matter of FS-permissions? Double-check the setuid-bit on neomail.pl! -- Andy --On den 7 oktober 2002 15:32 +0200 Mikael Karmalm <[email protected]> wrote: > Hi! > > That?s the funny part about that error message neommail.conf is in > /var/neomail/ > > /M > > -----Ursprungligt meddelande----- > Fran: [email protected] > [mailto:[email protected]] For Andy Herrero > Skickat: den 7 oktober 2002 15:25 > Till: [email protected] > Amne: Re: SV: SV: SV: VB: [Neomail-users] After upgrading to RH8 neomail > wont work! > > > Make sure that the directory specified in the beginning of neomail.pl > is the directory in which neomail.conf resides. > > According to the output of apache, the installation program has inserted > the path "/var/neomail" to your neomail.pl. Isn't neomail.conf located > in that directory? > > The line to which I'm referring (line 23 in my neomail.pl) looks like > this: > ---cut--- > push (@INC, '/var/neomail'); > ---cut--- > > What this does is it adds /var/neomail to the include-path array which > perl uses to find external modules and scripts. > > With kind regards, > > -- Andy > > PS. Lycka till :) > > --On den 7 oktober 2002 13:58 +0200 Mikael Karmalm <[email protected]> > wrote: > >> Hi again! >> >> Thaks for that, I have now installed that module and reinstalled >> neomail, this time I got no error message. >> But still I have the sme problem! >> >> >> [Mon Oct 07 13:55:21 2002] [error] [client 212.73.0.237] [Mon Oct 7 >> 13:55:21 2002] neomail.pl: Can't locate neomail.conf in @INC (@INC >> contains: /usr/local/lib/perl5/5.8.0/i686-linux >> /usr/local/lib/perl5/5.8.0 >> /usr/local/lib/perl5/site_perl/5.8.0/i686-linux >> /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl >> /var/neomail) at /var/www/cgi-bin/neomail.pl line 37., referer: >> http://www.cpf.nu/menu.htm >> >> -----Ursprungligt meddelande----- >> Fran: [email protected] >> [mailto:[email protected]] For Torsten Mueller >> Skickat: den 7 oktober 2002 10:42 >> Till: [email protected] >> Amne: Re: SV: SV: VB: [Neomail-users] After upgrading to RH8 neomail >> wont work! >> >> >> Look in the message archive for the thread >> "no suidperl on 5.6.1" from august 2002 >> >> Same problem, he founds a rpm. >> >> Torsten >> >> Mikael Karmalm schrieb: >>> >>> Where do I find suidperl, and how do I install it? >>> >>> I cant find it. >>> >>> /M >>> >>> -----Ursprungligt meddelande----- >>> Fran: [email protected] >>> [mailto:[email protected]] For Torsten > Mueller >>> Skickat: den 7 oktober 2002 02:26 >>> Till: [email protected] >>> Amne: Re: SV: VB: [Neomail-users] After upgrading to RH8 neomail wont >>> work! >>> >>> Yes, this could be a problem. >>> Neomail needs direct access to the mail spool files >>> of the users. >>> If neomail runs as your apache user, it haven't. >>> That's why neomail needs to change it's identity or better >>> gets more rights via suidperl to access the mail spools. >>> >>> Torsten >>> >>> Mikael Karmalm schrieb: >>> > >>> > Hi again! >>> > >>> > When I tried to reinstall neomail it looks like this, look at the >>> > warning could this be my problem? >>> > I can run the neomail.pl from shell but not from a browser. >>> > >>> > ********************************** >>> > ****** COMPATIBILITY CHECKS ****** >>> > ********************************** >>> > >>> > IF ANY OF THESE CHECKS FAIL, INSTALLATION WILL NOT CONTINUE. >>> > PLEASE INSTALL THE APPROPRIATE DBM LIBRARY OR MODULE AND TRY AGAIN. >>> > >>> > Checking for installation of Berkely DB or GNU DB capability... >>> > Looks OK. >>> > Checking for up-to-date CGI.pm... >>> > Looks OK. >>> > Checking for MD5.pm... >>> > Looks OK. >>> > >>> > Hit <ENTER> to continue. >>> > >>> > NEOMAIL SETUP >>> > ============= >>> > Welcome to the NeoMail install script! This script will prompt you >>> for >>> > some >>> > basic information about your desired setup, then install NeoMail >>> > according to >>> > your specifications. To accept the default value for any question, >>> > simply hit >>> > Enter at the prompt. Don't forget to run feedback.pl once you've >>> > installed >>> > NeoMail and have some opinions to share! >>> > >>> > WARNING >>> > ======= >>> > WARNING: I couldn't find suidperl on your system. NeoMail won't >>> function >>> > properly without suidperl installed. >>> > >>> > Hit <ENTER> to continue. >>> > >>> > -----Ursprungligt meddelande----- >>> > Fran: Torsten Mueller [mailto:[email protected]] >>> > Skickat: den 6 oktober 2002 21:58 >>> > Till: Mikael Karmalm >>> > Amne: Re: VB: [Neomail-users] After upgrading to RH8 neomail wont >>> work! >>> > >>> > Check your permissions on neomail.pl >>> > >>> > Torsten >>> > >>> > Mikael Karmalm schrieb: >>> > > >>> > > Hi again! >>> > > >>> > > The neomail.conf file is in /var/neomail/neomail.conf >>> > > So what could the problem be? >>> > > >>> > > -----Ursprungligt meddelande----- >>> > > Fran: Mikael Karmalm [mailto:[email protected]] >>> > > Skickat: den 6 oktober 2002 14:12 >>> > > Till: '[email protected]' >>> > > Amne: SV: [Neomail-users] After upgrading to RH8 neomail wont >> work! >>> > > >>> > > Hi and thanx! >>> > > >>> > > I now have another problem! >>> > > Please help >>> > > >>> > > Software error: >>> > > Can't locate neomail.conf in @INC (@INC contains: >>> > > /usr/local/lib/perl5/5.8.0/i686-linux /usr/local/lib/perl5/5.8.0 >>> > > /usr/local/lib/perl5/site_perl/5.8.0/i686-linux >>> > > /usr/local/lib/perl5/site_perl/5.8.0 >> /usr/local/lib/perl5/site_perl >>> > > /var/neomail) at /var/www/cgi-bin/neomail.pl line 37. >>> > > >>> > > -----Ursprungligt meddelande----- >>> > > Fran: [email protected] >>> > > [mailto:[email protected]] For Torsten >>> Mueller >>> > > Skickat: den 6 oktober 2002 02:59 >>> > > Till: [email protected] >>> > > Amne: Re: [Neomail-users] After upgrading to RH8 neomail wont >> work! >>> > > >>> > > The message says, what the problem is: >>> > > Can't do setuid >>> > > >>> > > As i don't run redhat, i can't give you an advice, how >>> > > to fix that, however the setuid thing is your problem. >>> > > (Possibly an rpm for suid or suid-perl ?) >>> > > >>> > > Torsten >>> > > >>> > > Mikael Karmalm schrieb: >>> > > > >>> > > > Hi! >>> > > > >>> > > > I have run Neomail for a long time on RedHat 7.1 and Postfix, > no >>> > > > problem. >>> > > > Today I upgraded RedHat to 8.0 and Neomail stopped working. >>> > > > In the browser I get the error 500 and in error log I get what >> you >>> > > > below. >>> > > > >>> > > > Please help I love my Neomail. >>> > > > >>> > > > /M >>> > > > >>> > > > [Sat Oct 05 23:59:44 2002] [error] [client 212.109.5.70] Can't >> do >>> > > > setuid, referer: http://www.cpf.nu/menu.htm >>> > > > [Sat Oct 05 23:59:59 2002] [error] [client 212.109.5.70] >> Premature >>> > end >>> > > > of script headers: neomail.pl, referer: >> http://www.cpf.nu/menu.htm >>> > > > >>> > > > ------------------------------------------------------- >>> > > > This sf.net email is sponsored by:ThinkGeek >>> > > > Welcome to geek heaven. >>> > > > http://thinkgeek.com/sf >>> > > > _______________________________________________ >>> > > > NeoMail-users mailing list >>> > > > [email protected] >>> > > > https://lists.sourceforge.net/lists/listinfo/neomail-users >>> > > >>> > > ------------------------------------------------------- >>> > > This sf.net email is sponsored by:ThinkGeek >>> > > Welcome to geek heaven. >>> > > http://thinkgeek.com/sf >>> > > _______________________________________________ >>> > > NeoMail-users mailing list >>> > > [email protected] >>> > > https://lists.sourceforge.net/lists/listinfo/neomail-users >>> > > >>> > > ------------------------------------------------------- >>> > > This sf.net email is sponsored by:ThinkGeek >>> > > Welcome to geek heaven. >>> > > http://thinkgeek.com/sf >>> > > _______________________________________________ >>> > > NeoMail-users mailing list >>> > > [email protected] >>> > > https://lists.sourceforge.net/lists/listinfo/neomail-users >>> > >>> > ------------------------------------------------------- >>> > This sf.net email is sponsored by:ThinkGeek >>> > Welcome to geek heaven. >>> > http://thinkgeek.com/sf >>> > _______________________________________________ >>> > NeoMail-users mailing list >>> > [email protected] >>> > https://lists.sourceforge.net/lists/listinfo/neomail-users >>> >>> ------------------------------------------------------- >>> This sf.net email is sponsored by:ThinkGeek >>> Welcome to geek heaven. >>> http://thinkgeek.com/sf >>> _______________________________________________ >>> NeoMail-users mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/neomail-users >>> >>> ------------------------------------------------------- >>> This sf.net email is sponsored by:ThinkGeek >>> Welcome to geek heaven. >>> http://thinkgeek.com/sf >>> _______________________________________________ >>> NeoMail-users mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/neomail-users >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> NeoMail-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/neomail-users >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> NeoMail-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/neomail-users > > > > _____________________________________________ __ _ > > GENUiTY Sweden > > Norra Stationsgatan 93, 5tr > S-113 64, Stockholm, Sweden > > [Phone] +46-8-55555 617 > [Fax] +46-8-55555 201 > [Cellular] +46-70-5585 617 > [SMTP] [email protected] > [HTTP] http://www.genuity.se > [ICQ] 891755 > _____________________________________________ __ _ > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > NeoMail-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/neomail-users > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > NeoMail-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/neomail-users _____________________________________________ __ _ GENUiTY Sweden Norra Stationsgatan 93, 5tr S-113 64, Stockholm, Sweden [Phone] +46-8-55555 617 [Fax] +46-8-55555 201 [Cellular] +46-70-5585 617 [SMTP] [email protected] [HTTP] http://www.genuity.se [ICQ] 891755 _____________________________________________ __ _ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf