IMAP Service stops randomly

Discussion forum for Enterprise Edition.
Post Reply
jdanieli
Posts: 15
Joined: Thu Jul 16, 2009 3:30 pm

IMAP Service stops randomly

Post by jdanieli »

I'm using enterprise 4.22 and the IMAP service stops randomly. Sometimes it stays on for weeks and other times it shuts downs after a few hours. We are also using SSL with the service 100% of the time. Is there a fix for this or some way to automatically monitor it and restart it when it stops? All the other services remain running with no problem.

IMAP debug log:
06/04/10 11:03:06 CleanupNotificationThread:: Notification thread terminated.
06/04/10 11:03:07 ME-IXXXX: Information: Removed Entry from activity file (C:\Program Files\Mail Enable\POSTOFFICES\xxxx.com\MAILROOT\cccc\_activity.tmp). Protocol=IMAP-SSL, IP=192.168.6.25,Port=4136.
06/04/10 11:03:07 ME-IXXXX: Information: Updating activity file (C:\Program Files\Mail Enable\POSTOFFICES\xxxx.com\MAILROOT\cccc\_activity.tab). Existing 2, Removed 1 Items.
06/04/10 11:03:07 ME-IXXXX: Information: Removed Entry from activity file (C:\Program Files\Mail Enable\POSTOFFICES\xxxx.com\MAILROOT\cccc\_activity.tmp). Protocol=IMAP-SSL, IP=192.168.6.25,Port=4284.
06/04/10 11:03:07 ME-IXXXX: Information: Deleting activity file (C:\Program Files\Mail Enable\POSTOFFICES\xxxx.com\MAILROOT\cccc\_activity.tab). Existing 1, Removed 1 Items.
06/04/10 11:03:08 ME-EXXXX: Warning: Failed to access file (C:\Program Files\Mail Enable\POSTOFFICES\xxxx.com\MAILROOT\cccc\_activity.tab). This most likely means that the last client connection terminated prematurely. Error = 2.
06/04/10 11:03:08 (Debug) [4284] end of conversation. Session=74316620
06/04/10 11:03:08 +++>Fired Event:Terminate. TermEvent=4128
06/04/10 11:03:08 CleanupNotificationThread:: Notification thread terminated.
[06/04/10 12:24:56]****************** LOG FILE STARTED *******************
06/04/10 12:24:56 Service Starting

IMAP-Activity log
06/04/10 11:03:04 IMAP-IN 4732 192.168.6.66 UID UID fetch 1770:* (FLAGS) 414 OK UID FETCH command completed 36 30
06/04/10 11:03:06 IMAP-IN 5316 192.168.6.25 LOGOUT logout * BYE MailEnable IMAP4rev1 server version 67 11
06/04/10 11:03:08 IMAP-IN E7D3CD6F45104124A7F5B01C22DDEDD4.MAI 4284 192.168.6.25 CLOSE close 43 OK CLOSE completed 23 0
06/04/10 11:03:08 IMAP-IN 4284 192.168.6.25 LOGOUT logout * BYE MailEnable IMAP4rev1 server version 0 0
06/04/10 11:03:09 IMAP-IN CD80BDC52ABC4CD38BA97139F2CC9935.MAI 4136 192.168.6.25 CLOSE close 6 OK CLOSE completed 22 0
[06/04/10 12:24:56]****************** LOG FILE STARTED *******************
06/04/10 12:25:05 IMAP-IN 2632 192.168.6.92 * OK IMAP4rev1 server ready at 06/04/10 12:25:05 50 0

IMAP-W3C log
10-06-04 11:03:06 192.168.6.25 IMAP-IN xxxx.com cccc 192.168.6.25 5316 LOGOUT logout *+BYE+MailEnable+IMAP4rev1+server+version MAIL 67 11 0
10-06-04 11:03:08 192.168.6.25 IMAP-IN xxxx.com cccc 192.168.6.25 4284 CLOSE close 43+OK+CLOSE+completed MAIL 23 0 2203
10-06-04 11:03:08 192.168.6.25 IMAP-IN xxxx.com cccc 192.168.6.25 4284 LOGOUT logout *+BYE+MailEnable+IMAP4rev1+server+version MAIL 0 0 0
10-06-04 11:03:09 192.168.6.25 IMAP-IN xxxx.com cccc 192.168.6.25 4136 CLOSE close 6+OK+CLOSE+completed MAIL 22 0 3171
#Software: MailEnable IMAP Server
#Version: 1.2
#Date: 06/04/10 12:24:56
#Fields: date time c-ip agent account cs-username s-ip s-port cs-method cs-uristem cs-uriquery s-computername sc-bytes cs-bytes time-taken
10-06-04 12:25:06 192.168.6.92 IMAP-IN 192.168.6.92 2632 CAPABILITY CAPABILITY+03EF49DDDD2A4A04811EFFAEC490A076 *+CAPABILITY+IMAP4rev1+IMAP4+AUTH=LOGIN+AUTH=CRAM-MD5+IDLE+CHILDREN MAIL 97 48 0

MailEnable-Ben
Posts: 5858
Joined: Fri Jan 16, 2004 6:49 am
Location: Melbourne

Re: IMAP Service stops randomly

Post by MailEnable-Ben »

Hi, You should update your version to the latest via the following link. There have been some changes that should help here:

http://www.mailenable.com/download.asp
Regards,

Product Services
MailEnable Pty Ltd

To keep track of all ME company updates and version releases you should subscribe to the MailEnable list at http://www.mailenable.com or the RSS feed http://www.mailenable.com/rss.

pmnit
Posts: 42
Joined: Mon Jun 20, 2011 8:32 pm
Location: Louisville, KY

Re: IMAP Service stops randomly

Post by pmnit »

We are also seeing this type of issue. We are running version 5.11. Any ideas?

07/08/11 12:25:21 Authenticating User:xxxxxxx using Authentication Provider Credentials
07/08/11 12:25:21 ME-IXXXX: Information: Adding connection to existing activity file. Protocol=IMAP-SSL, IPAddress=216.94.1.243, PortNumber=2540,Folder=INBOX.
07/08/11 12:25:22 ME-IXXXX: Information: Removed Entry from activity file (F:\Program Files\Mail Enable\POSTOFFICES\xxxxx.xxx\MAILROOT\xxxxxxx\_activity.tmp). Protocol=IMAP-SSL, IP=216.94.1.243,Port=2540.
07/08/11 12:25:22 ME-IXXXX: Information: Adding connection to existing activity file. Protocol=IMAP-SSL, IPAddress=216.94.1.243, PortNumber=2540,Folder=INBOX.
07/08/11 12:25:23 ME-IXXXX: Information: Removed Entry from activity file (F:\Program Files\Mail Enable\POSTOFFICESxxxxxxx.xxx\MAILROOT\xxxxxx\_activity.tmp). Protocol=IMAP-SSL, IP=216.94.1.243,Port=2540.
07/08/11 12:25:23 (Debug) [2540] end of conversation. Session=148557636
07/08/11 12:25:23 CleanupNotificationThread:: Notification thread terminated.
07/08/11 12:25:23 ME-WXXXX: [2540] Destroying client context.
07/08/11 12:25:32 [2276] IMAP IDLE ended.

07/08/11 12:25:32 ME-IXXXX: Information: Removed Entry from activity file (F:\Program Files\Mail Enable\POSTOFFICES\xxxxxxxx.xxx\MAILROOT\xxxxxx\_activity.tmp). Protocol=IMAP-SSL, IP=192.168.0.218,Port=2276.
07/08/11 12:25:32 (Debug) [2276] end of conversation. Session=138932044
07/08/11 12:25:32 CleanupNotificationThread:: Notification thread terminated.
07/08/11 12:25:32 ME-WXXXX: [2276] Destroying client context.
07/08/11 12:25:32 [2416] IMAP IDLE ended.

07/08/11 12:25:32 ME-EXXXX: Warning: Failed to access file (F:\Program Files\Mail Enable\POSTOFFICES\xxxxxxxx.xxx\MAILROOT\xxxxxx\_activity.tab). This most likely means that the last client connection terminated prematurely. Error = 2.
07/08/11 12:25:32 (Debug) [2416] end of conversation. Session=148148940
07/08/11 12:25:32 CleanupNotificationThread:: Notification thread terminated.
07/08/11 12:25:32 ME-WXXXX: [2416] Destroying client context.

arnaud
Posts: 13
Joined: Thu Dec 22, 2005 12:20 pm
Contact:

Re: IMAP Service stops randomly

Post by arnaud »

Dear all, We meet the same issue with Mailenable Enterprise 5.10.
IMAP service stops unexpectingly withour any relevant information in the logs file.
MXscan installed.
A fix would be deeply appreciated...
Arnaud

MailEnable-Ian
Site Admin
Posts: 9738
Joined: Mon Mar 22, 2004 4:44 am
Location: Melbourne, Victoria, Australia

Re: IMAP Service stops randomly

Post by MailEnable-Ian »

Hi,

Please upgrade to version 5.5 located here http://www.mailenable.com/download.asp as there has been significant changes to the IMAP service and message indexing.
Regards,

Ian Margarone
MailEnable Support

arnaud
Posts: 13
Joined: Thu Dec 22, 2005 12:20 pm
Contact:

Re: IMAP Service stops randomly

Post by arnaud »

Ian,
Yes we received the 5.5 annoucement just a few minutes after posting! We updated immediately, so far so good.
Thanks
Arnaud

rfwilliams777
Posts: 1370
Joined: Thu Nov 11, 2004 5:26 pm
Location: Kingsville, Texas

Re: IMAP Service stops randomly

Post by rfwilliams777 »

For whatever reason, since version 4. something I noticed that anomoly appear. What I do is go to the services program in Windows Server and change the option for restart upon failure for all three times on the Recovery tab. That keeps my IMAP online. Each time to upgrade to the next version (minor or major), double check to make sure this hasn't changed.
Robert Williams, Owner
www.WilliamsWebSolutions.com
#1 in MailEnable Business-Class Email Hosting - Switch to Williams Web Solutions and we will migrate your accounts to us for FREE!
We can be hired to help you with your Mail Enable server, too!

Post Reply