LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 02-03-2004, 05:18 PM   #1
esteeven
Senior Member
 
Registered: Oct 2001
Location: Bristol UK
Distribution: Slackware Ubuntu
Posts: 1,046

Rep: Reputation: 42
man despairs as imap-server drops log in request


I've finally managed to re-setup squirrelmail and cyrus-imap after my server reinstall. tcpd seems to be running. When I log in to squirrelmail, I get this error -
ERROR:
ERROR : Connection dropped by imap-server.
I can't see through my tears of frustration to read any more....is there something obvious I might have overlooked???
Thanks
<sob>
 
Old 02-03-2004, 07:35 PM   #2
di11rod
Member
 
Registered: Jan 2004
Location: Austin, TEXAS
Distribution: CentOS 6.5
Posts: 211

Rep: Reputation: 32
squirrelmail troubleshooting tips - IMAP

esteeven,

Hey, it sounds like you've gone through some tortuous troubleshooting, but you didn't mention any of it, so I'm probably going to recommend stuff you've already looked at.

Is cyrus listening? You can test this by telnetting to port 143. Do that from your linux box to your linux box. Not another computer. You might have a firewall confugred that is blocking external hosts from connecting on 143.

The telnet test should look something like this:

[user@jackass /]# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS AUTH=LOGIN] localhost.localdomain IMAP4rev1 2003.338mdk at Tue, 3 Feb 2004 18:22:50 -0500 (EST)

ctrl ] will get you to the telnet prompt. Then type quit.

If you don't get a response like the above, you either:
1. Don't have cyrus running or
2. Have some kind of firewall blocking access on port 143 to your own box

You also need to configure squirrelmail. Make sure you have selected CYRUS as the imap type in the server settings. Use the configure script located in the root directory of squirrelmail.

If you can succesfully telnet to CYRUS on port 143, that means something else is going on. Check /var/log/mail/info. Do a tail -f /var/log/mail/info in a console and then try to connect using squirrelmail. See what error is returned on the transaction.

Is this on your Mandrake box, btw?

Hopefully these tips will get you on the right track,

di11rod
 
Old 02-04-2004, 07:25 AM   #3
esteeven
Senior Member
 
Registered: Oct 2001
Location: Bristol UK
Distribution: Slackware Ubuntu
Posts: 1,046

Original Poster
Rep: Reputation: 42
thanks di11rod -

netstat -lep tells me that imapd is happily running but you are right - I can't telnet localhost 143 Other ports are fine. Any suggestions?
 
Old 02-04-2004, 08:18 AM   #4
di11rod
Member
 
Registered: Jan 2004
Location: Austin, TEXAS
Distribution: CentOS 6.5
Posts: 211

Rep: Reputation: 32
esteeven,

Hmm... I'd check iptables to see if you've got a block on port 143 that prevents even localhost from connecting....

Either that or maybe is this some kind of ssl imap daemon you've got running? If that's the case, telnet won't work.

I'm still learning iptables, so I can't really recommend anything in regards to that. I just know it might be a possible culprit here.

good luck,

di11rod
 
Old 02-04-2004, 04:56 PM   #5
esteeven
Senior Member
 
Registered: Oct 2001
Location: Bristol UK
Distribution: Slackware Ubuntu
Posts: 1,046

Original Poster
Rep: Reputation: 42
well --- I can telnet to localhost 143 from my server itself (SuSE 8.2) and from outside so that leads me to think that imap is up and running but something else is going on. Perhaps it's squirrelmail? I've set it to use cyrus etc etc but no luck yet. More information later ..... if I don't throw my SusE box out of the window (I'd have to replace windows again then, wouldn't I?)
 
Old 02-05-2004, 01:01 AM   #6
di11rod
Member
 
Registered: Jan 2004
Location: Austin, TEXAS
Distribution: CentOS 6.5
Posts: 211

Rep: Reputation: 32
Quote:
Do a tail -f /var/log/mail/info in a console and then try to connect using squirrelmail. See what error is returned on the transaction.
di11rod
 
Old 02-05-2004, 11:32 AM   #7
esteeven
Senior Member
 
Registered: Oct 2001
Location: Bristol UK
Distribution: Slackware Ubuntu
Posts: 1,046

Original Poster
Rep: Reputation: 42
I've been shying away from tail because I don't understand it. I just typed
tail -f /var/log/mail/info in a console
and got
tail: /var/log/mail/info: Not a directory
tail: no files remaining
what should I do?
 
Old 02-05-2004, 05:42 PM   #8
di11rod
Member
 
Registered: Jan 2004
Location: Austin, TEXAS
Distribution: CentOS 6.5
Posts: 211

Rep: Reputation: 32
Check where your mail logs are stored. Might be called something other than 'info' in your /var/log directory. When you've found one, do a tail -f on it in your console window...

That command shows the bottom of the file as its updated and continues running until you've typed 'ctrl-c' to break out of it. This allows you to use your web browser to attempt a squirrelmail login and you can see the results get updated to the log file.

good luck,

di11rod
 
  


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
Where does linux log all the browser request activity? vous Linux - Networking 6 03-21-2011 05:05 AM
RH 9 - tightvnc server drops out for some users (/tmp/ICE-unix?) sto237 Linux - Networking 0 10-14-2005 02:44 PM
HOWTO Log File Transfers Sizes with IMAP pjcp64 Linux - Software 0 06-28-2005 01:29 PM
Is there a way to log pop3/imap connections? NuLLiFiEd Slackware 1 01-31-2005 04:32 PM
Just upgraded libc-client2003 and can't log into IMAP any more! fishsponge Linux - General 7 05-30-2003 08:33 AM


All times are GMT -5. The time now is 01:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration