LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-06-2005, 08:21 PM   #1
sazaney
LQ Newbie
 
Registered: Nov 2004
Posts: 6

Rep: Reputation: 0
login failed when try to connect to mail server


hi guys,

recently we had a problem for some of our users, they claim that they cannot login to our mail server either using outlook express/thunderbird or using our squirrelmail. we are using sendmail-8.12.8-9.90 on redhat 9 (dell 2650), imap-2004c1(washington imap). i check the logs and found this:

Apr 7 08:59:00 act-naim ipop3d[21657]: Logout user= host=
Apr 7 09:03:54 act-naim pop(pam_unix)[25263]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=
Apr 7 09:03:57 act-naim ipop3d[25263]: Login failed user= auth =host=
Apr 7 09:04:00 act-naim ipop3d[25263]: Logout user=host=
Apr 7 09:05:11 act-naim imap(pam_unix)[25326]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=
Apr 7 09:05:13 act-naim imapd[25326]: Login failed user=auth=host=
Apr 7 09:05:16 act-naim imapd[25326]: Command stream end of file, while reading line user= host=
Apr 7 09:07:43 act-naim sshd(pam_unix)[25470]: session opened for user root by (uid=0)
Apr 7 09:08:54 act-naim pop(pam_unix)[25566]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=10.24.1.60 user=
Apr 7 09:08:57 act-naim ipop3d[25566]: Login failed user=auth=host=
Apr 7 09:09:00 act-naim ipop3d[25566]: Logout user=host=

fyi, we had migrate from our solaris to linux 3 weeks ago. i just copied passwd and shadow and it works...unfortunately this weeks i has received many calls from our users, they claim they cannot connect (unknown user/password incorrect). they try many times before they can connect to our mail server.
is there any problem with the PAM or our imap connection is not stable? please help...
 
Old 04-07-2005, 12:51 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,082

Rep: Reputation: 299Reputation: 299Reputation: 299
Hard to say exactly what's going on based on the info you provided. Does the problem only occur with a certain group of users, or are all users affected? Could authentication be failing because the system is overloaded? I don't really know much about the UW IMAP and POP3 daemons. You might consider switched to Courier or (my personal favorite) Dovecot which have more features.

[edited to add...]

It seems odd that all the user= and host= lines are blank in your log messages. Have you tried telneting to ports 110 and 143 and issued POP/IMAP commands yourself to see exactly what's going on? It's really odd that authentication fails most of the time but works on occassion.

Last edited by btmiller; 04-07-2005 at 12:55 AM.
 
Old 04-07-2005, 07:20 PM   #3
sazaney
LQ Newbie
 
Registered: Nov 2004
Posts: 6

Original Poster
Rep: Reputation: 0
i do not know whether my PAM or my imap connection is the problem...it's happen to some of my users, not all..i'll try to telnet to my server using imap/pop using my name and i's ok, today i will contact some users who had that problem...i'll paste the log again..

Apr 8 08:08:24 act-naim imapd[32550]: Command stream end of file, while reading line user=muzzafar host=wmail1.iiu.edu.my [10.1.2.143]
Apr 8 08:08:58 act-naim pop(pam_unix)[32578]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=10.24.1.60 user=shareen
Apr 8 08:09:00 act-naim ipop3d[32578]: Login failed user=shareen auth=shareen host=[10.24.1.60]
Apr 8 08:09:03 act-naim ipop3d[32578]: Logout user=shareen host=[10.24.1.60]
Apr 8 08:09:19 act-naim imap(pam_unix)[32595]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=10.1.2.143 user=muzzafar
Apr 8 08:09:22 act-naim imapd[32595]: Login failed user=muzzafar auth=muzzafar host=wmail1.iiu.edu.my [10.1.2.143]
Apr 8 08:09:25 act-naim imapd[32595]: Command stream end of file, while reading line user=muzzafar host=wmail1.iiu.edu.my [10.1.2.143]
Apr 8 08:09:36 act-naim imapd[32609]: Login failed user=muzzafar auth=muzzafar host=wmail1.iiu.edu.my [10.1.2.143]
Apr 8 08:09:39 act-naim imapd[32609]: Command stream end of file, while reading line user=muzzafar host=wmail1.iiu.edu.my [10.1.2.143]
Apr 8 08:13:58 act-naim pop(pam_unix)[399]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=10.24.1.60 user=shareen
Apr 8 08:14:00 act-naim ipop3d[399]: Login failed user=shareen auth=shareen host=[10.24.1.60]
Apr 8 08:14:03 act-naim ipop3d[399]: Logout user=shareen host=[10.24.1.60]
 
Old 04-07-2005, 09:14 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,082

Rep: Reputation: 299Reputation: 299Reputation: 299
The command stream end of file is rather interesting. You should try to determine if all of the failing users are using the same mail client. Several mail clients have known bugs and this may be part of the problem. Googling on that may help too.

Good luck.
 
Old 04-07-2005, 09:29 PM   #5
sazaney
LQ Newbie
 
Registered: Nov 2004
Posts: 6

Original Poster
Rep: Reputation: 0
if you look at that following ip, 10.1.2.143 and 10.1.2.141 is using squirrelmail and the rest is using either outlook express or mozilla thunderbird. it quite annoyying until now i can not slove this problem. any ideas?
 
  


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
Configure & Connect a Linux mail server from a windows mail clients digihall7 Linux - Networking 4 10-23-2006 12:21 PM
Failed to connect to SDP server ...Function not implemented triona Linux - Software 2 03-24-2006 10:03 AM
online_update failed - ERROR(Media:connection failed)[Connect failed] rover Suse/Novell 8 02-22-2005 07:57 AM
squirrel mail cannot connect to server berrance Linux - Software 2 11-23-2004 04:57 AM
mail-notifier 0.5.0 login failed Yoda_Oz Linux - Software 1 09-28-2004 01:50 PM


All times are GMT -5. The time now is 11:38 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration