Squirrelmail and Dovecot IMAP
Just built a new email server Dovecot procmail postfix spamassasian the logs show Im getting mail and its making it all the way to my $HOME/Mailbox.
Now I want to view it using squirrelmail... installed it via yum, and can get to the login screen, but after entering my login and pass it hangs for approx 30 seconds then I get the error "ERROR: Connection dropped by IMAP server." The only possible thing which might be related in my log file is Oct 12 20:31:39 servername dovecot: imap-login: Disconnected: Inactivity: rip=127.0.0.1, lip=127.0.0.1, TLS I cant telnet to port 143 and see it connect. Im also using pam for authentication on FC5. http://your-squirrelmail-location/src/configtest.php waits for about 1 min then Checking PHP configuration... PHP version 5.1.4 OK. PHP extensions OK. Checking paths... Data dir OK. Attachment dir OK. Plugins OK. Themes OK. Default language OK. Base URL detected as: https://mail.domain.com/src (location base autodetected) Checking outgoing mail service.... SMTP server OK (220 domain ESMTP Postfix) Checking IMAP service.... ERROR: Error connecting to IMAP server. Server error: Im sure Im missing something simple, I hope someone here can point it out for me. Thanks guys... TheGNUbie |
Copied from another post I made a day or so ago
Quote:
I'd guess you haven't configured squirrelmail Rgds |
Ive tried running that perl script a few times with those settings, same result.
|
Quote:
Quote:
Check your mail log which is normally found under /var/log. Post all the relevant lines, from the start of login to logout. Have you configured your dovecot.conf file, set all the parameters right ? |
Can you read mail using any othe rmail clients; evolution, etc?
|
Quote:
only thin is log file is: Quote:
|
I'd try to get it working without tls in the first instance, then you can add that in
|
btw, do you have ssl key files specified, etc?
|
yes, both the private key and certificate files are specified.
Per the dovecot website... SQUIRRELMAIL "Configuration asks IMAP server name for some workarounds, I'm not aware of Dovecot requiring any so just select the "other" option. By default it uses INBOX-prefix, remove it." also increased my logging and now see: Oct 13 20:26:43 server dovecot: imap-login: SSL_accept() syscall failed: EOF [127.0.0.1] I edited my dovecot.conf so much it was inevitable I would screw it up.. so I grabbed anoter from the web.. boom it works... go figure. |
All times are GMT -5. The time now is 09:13 AM. |