IMAP hangs up

Post Reply
rdclan
Member
Posts: 40
Joined: 01 Apr 2005 02:37
Location: Germany

IMAP hangs up

Post by rdclan »

Hello,

I use IMAP Server on my OXE 6.0 (Same CPU).

Got some Users with Outlook that check a common Mailbox with Outlook.

Every 1-2 Days, Outlook looses many times a Day the Connection and wants the Password for IMAP, and new messages only come in after refresh.

After booting the OXE, it works fine a few Days, than the same problem appears.

Any Idea ?

How can i restart the IMAP Service manually without booting the whole OXE ?

Thx.
User avatar
frank
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 3169
Joined: 06 Jul 2004 00:18
Location: New York
Contact:

Post by frank »

Before you reboot the IMAP, did you try to debug it while customer says that it's frozen ? Did you try with another client than outlook ?
Code Free Or Die
rdclan
Member
Posts: 40
Joined: 01 Apr 2005 02:37
Location: Germany

Post by rdclan »

Hi Frank,

im not really good in IMAP and its Functions :-(

Maybe i´ll try to learn to Debug IMAP (via Telnet and some Commands i Think) and post again, when it hangs up.

The Customer uses Outlook, got no other Software Running there.
tincho.rn
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 929
Joined: 30 Jan 2006 09:40
Location: Argentina
Contact:

Re: IMAP hangs up

Post by tincho.rn »

rdclan wrote:.. new messages only come in after refresh.
About this: always new message will came after refresh.

Try using Thunderbird as a IMAP client.
I never use IMAP from OXE but I am using one for my company mail server. Try looking at some logs, perhaps /var/log/mail.log or something like this.

who knows witch IMAP server is using OXE?
User avatar
cavagnaro
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 7014
Joined: 14 Sep 2005 19:45
Location: Brasil, Porto Alegre
Contact:

Post by cavagnaro »

What version of Outlook are you using? is it Express or Microsoft Outlook?
I saw that when using Microsoft Outlook 2003 but using Express worked fine.
Is your IMAP client configured to retrieve emails after X time automatically? On MOutlook 2003 it's not enabled by default.
Ignorance is not the problem, the problem is the one who doesn't want to learn

OTUC/ICS ACFE/ACSE R3.0/4.0/5.0/6.0
Certified Genesys CIV 8.5
Certified Genesys Troubleshooting 8.5
Certified Genesys BEP 8.x
Genesys Developer
User avatar
frank
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 3169
Joined: 06 Jul 2004 00:18
Location: New York
Contact:

Post by frank »

Here is an example on how to debug:

telnet imap_server 143
1 login mailbox_number mailbox_password
1 select inbox
1 idle


Once a new message is received, you will see the screen getting an update.

EX:
(1)lab-a> telnet localhost 143
Trying 192.168.1.201...
Connected to lab-a.
Escape character is '^]'.
* OK [CAPABILITY IMAP4REV1 AUTH=LOGIN AUTH=PLAIN] lab-a IMAP4rev1 at Wed, 7 Mar 2007 22:02:56 -0500 (EST)
1 login 1000 1000
1 OK [CAPABILITY IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS SCAN] User 1000 authenticated
1 select inbox
* 13 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1170894635] UID validity status
* OK [UIDNEXT 63] Predicted next UID
* FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
* OK [PERMANENTFLAGS (\Deleted \Seen)] Permanent flags
* OK [READ-WRITE] Mailbox status
1 OK [READ-WRITE] SELECT completed
1 idle
+ Waiting for DONE

You can see that when I do the 1 select inbox it says that I have 13 messages already.

If this works, then go and change your client :-)
Code Free Or Die
rdclan
Member
Posts: 40
Joined: 01 Apr 2005 02:37
Location: Germany

Post by rdclan »

Hi Cavagnaro,

its Outlook 2003.
Yes, we configured the automatic Update.

By that way, i personally use Outlook 2002, and if the VoiceMail Folder ist open, new messages will appear on my Folder immediatly.

Hi Frank,

thanks for your Debug Tips, it drives my crazy :-)

The 1 in front of the commands, i didn´t find yet....

Thanks !
tincho.rn
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 929
Joined: 30 Jan 2006 09:40
Location: Argentina
Contact:

Re: IMAP hangs up

Post by tincho.rn »

rdclan wrote:Hello,

How can i restart the IMAP Service manually without booting the whole OXE ?

Thx.
1) Look for process number using: ps -aux | grep imapd
2) kill <process number>
3) dhs3_init -R IMAPD

Notes:
1) you must log-in as root
2) test first in lab.
rdclan
Member
Posts: 40
Joined: 01 Apr 2005 02:37
Location: Germany

Post by rdclan »

Thanks Tinch.rn,

i will try it next.
Post Reply

Return to “My Messaging / IMAP”