Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
imap error Goto page 1, 2  Next
View previous topic :: View next topic  
Author Message
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Mon Aug 29, 2011 4:37 pm    Post subject: imap error Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Mon Aug 29, 2011 5:12 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Mon Aug 29, 2011 5:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Mon Aug 29, 2011 6:02 pm    Post subject: Reply with quote

Code:
/var/run/dovecot/master.pid


gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Mon Aug 29, 2011 6:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Mon Aug 29, 2011 6:45 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Mon Aug 29, 2011 6:59 pm    Post subject: Reply with quote

thanks! Learned something today. I was able to login so its roundcube. Trying to figure it out now.

thanks
Back to top
View user's profile Send private message
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Mon Aug 29, 2011 7:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Mon Aug 29, 2011 7:54 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Mon Aug 29, 2011 8:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Mon Aug 29, 2011 10:03 pm    Post subject: Reply with quote

Have you double check roundcube config?
Squirrelmail is working?

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Tue Aug 30, 2011 2:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Tue Aug 30, 2011 5:35 pm    Post subject: Reply with quote

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? Embarassed
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Tue Aug 30, 2011 6:00 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Tue Aug 30, 2011 6:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional