View previous topic :: View next topic |
Author |
Message |
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Mon Aug 29, 2011 4:37 pm Post subject: imap error |
|
|
Well, this is a strange one. My test server email won't allow me to login. None of the logs (dovecot, maillog, messages, syslog) show any errors.
When I try to log into roundcube I get, 'connection to imap server failed'. Dovecot is running with pid.
any thoughts? |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Mon Aug 29, 2011 5:12 pm Post subject: |
|
|
See /var/log/secure also, stop dovecot, remove the PID if necessary, and start it over.
Also check roundcube config for proper hostname, domain.
Try to telnet port 143 or 993 to see if dovecot is running.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Mon Aug 29, 2011 5:36 pm Post subject: |
|
|
thanks for the reply. I can telnet into imap.
Where is dovecot.pid located? I will remove and then restart dovecot.
thanks |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Mon Aug 29, 2011 6:02 pm Post subject: |
|
|
Code: | /var/run/dovecot/master.pid |
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Mon Aug 29, 2011 6:28 pm Post subject: |
|
|
well that did not work. Logs don't show anything.
dovecot.log gives this error:
Aug 29 10:12:26 dovecot: Warning: Killed with signal 15 (by pid=2620 uid=0 code=kill) |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Mon Aug 29, 2011 6:45 pm Post subject: |
|
|
Since you can telnet and login, that's not a dovecot issue, most likely roundcube configuration is incorrect.
Try this to login through telnet
telnet hostname 143
1 login [user] [pass]
and to logout
6 logout
If you can login then something is wrong with roundcube.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Mon Aug 29, 2011 6:59 pm Post subject: |
|
|
thanks! Learned something today. I was able to login so its roundcube. Trying to figure it out now.
thanks |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Mon Aug 29, 2011 7:30 pm Post subject: |
|
|
just got this error msg when I restarted postfix and dovecot.
postfix/postfix-script[2840]: warning: not owned by root: /var/spool/postfix/pid
how to I fix that? |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Mon Aug 29, 2011 7:54 pm Post subject: |
|
|
Either do
Code: | postfix set-permissions |
or
Code: | chown -R root:root /var/spool/postfix/pid |
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Mon Aug 29, 2011 8:06 pm Post subject: |
|
|
still gives me 'can't connect to imap server'.
roundcube log gives:
[29-Aug-2011 12:02:20 -0700]: IMAP Error: Could not connect to dagwood.home:143: php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/ht$
whats dagwood.home:143? |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Mon Aug 29, 2011 10:03 pm Post subject: |
|
|
Have you double check roundcube config?
Squirrelmail is working?
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Tue Aug 30, 2011 2:16 pm Post subject: |
|
|
thanks for your help. It was definitely roundcube. I couldn't determine what the issue was in roundcube so I reinstalled it and all is working.
thanks again |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Tue Aug 30, 2011 5:35 pm Post subject: |
|
|
Well, I guess I spoke too soon. I am getting mail to server and can read it from webmin postfix. However, its not being delivered to my mailbox.
any ideas on how to trouble shoot this?  |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Tue Aug 30, 2011 6:00 pm Post subject: |
|
|
Is Squirrelmail getting messages?
I'm double asking this to verify that Maildir is working, or else you can look at ~/Maildir for new messages.
If squirrelmail get messages then, you have to look at roundcube, if squirrelmail don't get messages, then Maildir isn't working.
Did you changed something in dovecot, postfix configuration?
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Tue Aug 30, 2011 6:19 pm Post subject: |
|
|
I don't have squirrelmail installed. ~/Maildir is not getting messages.
to my knowledge, I don't remember making any changes to dovecot or postfix. |
|
Back to top |
|
|