IMAP service keeps failing and restarting

iLLuSi0nS

Active Member
Jun 9, 2007
43
0
156
I keep getting these emails telling me that my IMAP server has failed. Can someone please shine some light on it for me. Thanks

imap failed @ Tue Dec 30 23:34:19 2008. A restart was attempted automagically.
Service Check Method: [tcp connect]

Failure Reason: TCP Transaction Log:
<< * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2008 Double Precision, Inc. See COPYING for distribution information.
>> A001 LOGIN __cpanel__service__auth__imap__F1w6orYhk5IbrU7WBE6 UondVPNHzZ7Y_IDIf7ZcDt3_ID4__G_CQcqBd655lQ9Q FwF3Dx6AU_rIp8JX16zLxx1GEa1yEk3TEMeEG53jYiHpD_2UHX gQwkngY64D9Vbl
<< * BYE Temporary problem, please try again later
imap: ** [* BYE Temporary problem, please try again later != A001 OK]


Cmd Service Check Raw Output:
 

iLLuSi0nS

Active Member
Jun 9, 2007
43
0
156
Yes, mine started like 3 weeks ago, and happens like 5 or 6 times a day....WHAT THE HECK!!!
 

ljprevo

Well-Known Member
Apr 15, 2003
67
0
156
Same thing here, any suggestions?

imap failed @ Sun Jan 25 09:22:21 2009. A restart was attempted automagically.
Service Check Method: [tcp connect]

Failure Reason: TCP Transaction Log:
<< * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2008 Double Precision, Inc. See COPYING for distribution information.
>> A001 LOGIN __cpanel__service__auth__imap__uncu1DFxdliRb19_cVmwQ13qWe9L1qJqD6F5xcIwmlGpjegSIO508pMhe4P1PLeP wwmDdY19Pf0Kovcrte1Cq4O2aJyqYargOL1uYKLoux_i4I30Z0MoVP3cpKJ7zPSQ
<< * BYE Temporary problem, please try again later
imap: ** [* BYE Temporary problem, please try again later != A001 OK]
 

elkram

Active Member
Nov 21, 2004
31
0
156
I don't remember when, but for me this was resolved by a recent cPanel update. Not sure which one.
 

Kent Brockman

Well-Known Member
PartnerNOC
Jan 20, 2008
1,354
80
178
Buenos Aires, Argentina
cPanel Access Level
Root Administrator
FYI, this is on a VPS.

I'm using RELEASE.

cPanel 11.24.4-R33609 - WHM 11.24.2 - X 3.9
Cool, we also do run it on a VPS. Yesterday, I reinstalled courier

Code:
/scripts/courierup --force
and restarted courier

Code:
service courier-imap restart
service courier-authlib restart
and the problem didn't came up again by now. Possibly, reinstalling the service was the right choice.


Do you have temporary pop3 errors? in which, your pop3 client says the email account doesn't exists? We still do. I don't know if it is related with the same problem.
 

elkram

Active Member
Nov 21, 2004
31
0
156
Do you have temporary pop3 errors? in which, your pop3 client says the email account doesn't exists? We still do. I don't know if it is related with the same problem.
I don't think it's the same problem, but pop errors like yours that we encountered were resolved by increasing the Number of Authentication Daemons for pop under Mailserver Configuration.
 

Kent Brockman

Well-Known Member
PartnerNOC
Jan 20, 2008
1,354
80
178
Buenos Aires, Argentina
cPanel Access Level
Root Administrator
I don't think it's the same problem, but pop errors like yours that we encountered were resolved by increasing the Number of Authentication Daemons for pop under Mailserver Configuration.
Hi, I've increased the number of auth daemons from 2 to 5 this week and there are still login problems. I've reinstalled exim and courier and the problem is still there. Any idea?

BTW, the imap problems reported originally in this post have disappeared.
 

elkram

Active Member
Nov 21, 2004
31
0
156
Hi, I've increased the number of auth daemons from 2 to 5 this week and there are still login problems. I've reinstalled exim and courier and the problem is still there. Any idea?

BTW, the imap problems reported originally in this post have disappeared.
We increased the number of daemons to much more than 5. I think we used 40 or 50 and that does not appear to impact overall VPS performance.
 

consultorpc

Well-Known Member
PartnerNOC
Jun 18, 2003
51
0
156
We are having the same problem with a server using Dovecot. Although we don't see any problem in the server at all it's annoying to get these errors mails every day.

Code:
imap failed @ Sun Apr 12 04:40:12 2009. A restart was attempted automagically.
Service Check Method:  [check command]

Cmd Service Check Raw Output: dovecot is not running
 
Last edited:

Kent Brockman

Well-Known Member
PartnerNOC
Jan 20, 2008
1,354
80
178
Buenos Aires, Argentina
cPanel Access Level
Root Administrator
We are having the same problem with a server using Dovecot. Although we don't see any problem in the server at all it's annoying to get these errors mails every day.
Pretty strange.

Is the Dovecot daemon set to be monitored by Service Manager?
How many auth daemons are you running?
Do you have enough free memory? (Do the auth daemons use too much memory?)
Are you running heavy processes?
Do you have the latest STABLE cPanel version?



We increased the number of daemons to much more than 5. I think we used 40 or 50 and that does not appear to impact overall VPS performance.
Finally, we migrated to Dovecot and the login problems dissappeared. So, it must be some kind of problem with Courier.
 

consultorpc

Well-Known Member
PartnerNOC
Jun 18, 2003
51
0
156
Hi Kent,

Yes, the dovecot daemon is monitored by system manager.

We are using 5 Number of Spare Authentication Processes and 60 Maximum Number of Authentication Processes.

This is not a memory not load problem as even the error comes nightly when the server has very litte load.

And yes, we have the lastest cPanel and Dovecot versions running.

Never mind, I will try to increase these values to see if now the alerts disappear.
 

kampret

Member
Jun 21, 2007
17
0
51
I have the same issue just right now, dovecot refused to run/start.
Force update dovecot, dovecot -n, everything seems like ignored by exim and pop and imap.
Still recognize as : Dovecote is not running.

Reverting to Courier makes everything to work now.
But I need to use dovecot again.

How to fix this dovecote issue?

Thank you.