Error connecting to IMAP server EMAIL not working plz help

asking

Verified User
Joined
Jul 8, 2010
Messages
58
Hello,

i m getting this error "Error connecting to IMAP server: localhost.
111 : Connection refused"

when i try to access my email account.

please help.
 
Hello,

Where do you get this error? What is in logs /var/log/maillog? Is dovecot running?

Code:
ps aux | grep dovecot | grep -v grep
 
i get this error while loggin in :(

where the username and password dialogue box appears.
 
Are you using Dovecot? Is it running? You didn't post the output of the command zEitEr gave you.

Also try this one:
Code:
# ps aux | grep imap | grep -v grep
Post the results of both.

Jeff
 
when i tried to star DEVCOT from directadmin it give error "/sbin/service dovecot start 2>&1"

plz help...
 
Try to do it manually:

Code:
/etc/rc.d/dovecot restart
ps aux | grep dovecot | grep -v grep

and please update us with results.
 
/etc/rc.d/dovecot restart

No such file/directory found.


ps aux | grep dovecot | grep -v grep

no output.
 
/sbin/service dovecot restart

or

/etc/init.d/dovecot restart
 
[root@server ~]# /etc/init.d/dovecot restart
Shutting down dovecot: [FAILED]
Starting dovecot: Fatal: Dovecot is already running with PID 2703 (read from /var/run/dovecot/master.pid)
 
Well if you dont see it with:

Code:
ps xua | grep -i dovecot | grep -v grep
ps xua | grep '2703' | grep -v grep

Then it is not running.

You will have to just remove the master.pid

Maybe it got stuck or something.

Code:
rm -rf /var/run/dovecot/master.pid
/etc/init.d/dovecot start
 
Back
Top