Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-22-2005, 05:09 AM   #1
Registered: Aug 2005
Distribution: Mandriva
Posts: 58

Rep: Reputation: 17
NeoMail Login Problem

Hi, I looked all over the internet, but could not find the solution for my problem:

Mandrake Linux 10.1
+sendmail + perl 5.8.5

Recently I installed NeoMail 1.2... (the last one)
I installed it as it was documented. It runs, BUT I CAN NOT LOG IN.
No user can login regardless of group. Sendmail works ok, apache works ok.

I get this message in /var/neomail/neomail.log:
Mon Aug 22 11:32:12 2005 - [10020] ( UNKNOWNUSER - invalid login attempt for username=xxxxxxx

Also there is some strange log in /var/log/httpd/error.log:
[Mon Aug 22 11:32:12 2005] [error] [client] YOU HAVEN'T DISABLED SET-ID SCRIPTS IN THE KERNEL YET!, referer: >>> HERE WAS AN URL TO MY NEOMAIL.PL FILE<<<

[Mon Aug 22 11:32:12 2005] [error] [client] FIX YOUR KERNEL, OR PUT A C WRAPPER AROUND THIS SCRIPT!, referer: >>> HERE WAS AN URL TO MY NEOMAIL.PL FILE<<<

Neomail directory rights/owners:
[root@server neomail]# ls -la
total 40
drwxrwxrwx 6 root mail 4096 Aug 22 10:49 ./
drwxr-xr-x 22 root root 4096 Aug 22 10:49 ../
-rwsr-xr-x 1 root root 710 Aug 22 10:49*
drwxr-x--- 2 root mail 4096 Aug 22 10:49 lang/
-rwxr-x--- 1 root mail 7670 Aug 22 11:24 neomail.conf*
-rw-rw---- 1 root mail 1262 Aug 22 11:32 neomail.log
drwxr-x--- 2 root mail 4096 Aug 22 10:49 styles/
drwxr-x--- 23 root mail 4096 Aug 22 10:49 templates/
drwxrwxrwx 2 root mail 4096 Aug 22 10:49 users/

Also tried /var/neomail/ as root with /etc/shadow and a real username and password, and it returned me "0" = authentication succesfull.

Please help me figure out why neomail fails to log in any user.
Old 08-22-2005, 11:30 PM   #2
Senior Member
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 120Reputation: 120
Neomail!! Wow that was a long time ago. Last time I touched that was back in 2003. I'd suggest something php based like horde (

Lucky for you I'm a pack rat. I wrote C wrappers for and as the error message suggests. I called them neomail.cgi and neiomail-perfs.cgi respectively.

#define REAL_PATH "/exposed/mail/"

main( int argc, char **argv )
   execv( REAL_PATH, argv );
#define REAL_PATH "/exposed/mail/"

main( int argc, char **argv )
   execv( REAL_PATH, argv );
Make these setuid.
Old 08-22-2005, 11:42 PM   #3
Registered: Jun 2005
Location: Northern NSW, Australia
Distribution: LXLE
Posts: 123

Rep: Reputation: 15
I recommend SquirrelMail personally. Yes, I know it doesn't answer your question, but Neomail can be more trouble than it's worth.
Old 08-22-2005, 11:51 PM   #4
Registered: Aug 2005
Distribution: Mandriva
Posts: 58

Original Poster
Rep: Reputation: 17
I solved the problem, thanks folks.

Also thenks for the recomendations, but on this particular server I must use NeoMail. Anyway now it's working and everyone is happy


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
neomail settings gigi Linux - Software 0 07-08-2005 06:45 AM
port used by neomail gigi Linux - Security 1 04-29-2005 06:42 PM
Neomail errors... frogger01 Linux - Software 6 04-26-2005 08:22 PM
neomail problem slack66 Slackware 5 11-15-2003 03:42 AM
Neomail mikeshn Linux - Software 0 11-14-2003 03:34 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:10 AM.

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