[imp] Imp login fails: "Error connecting to mail server."
Louis Erickson
lerickson at rdwarf.net
Mon Oct 28 18:45:46 UTC 2013
Hello there!
I'm installing a new Horde installation. I've been running a very old one, and am finally upgrading. The install has gone great until I got to configuring Imp. (As a site note, the current pear/pecl based install is great, and the improved SQL migration tool has been amazingly effective!)
Horde is configured and seems to be working, as are Nag, Turba, and Ingo.
Imp seemed to install with no trouble. I'm having trouble getting IMP configured to work with my IMAP server.
When I click on "Mail" in Horde, I get a login screen, which is what I expected. When I enter valid credentials, I get a notification pop up that says, "Error connecting to mail server."
I am particularly stumped by this because Horde itself is using the same IMAP server for authentication, and that is working properly.
Here's what I know:
My backends.local.php contains:
$servers['imap']['disabled'] = true;
$servers['rdwarfimap'] = array(
'disabled' => false,
'name' => 'mail.rdwarf.net',
'hostspec' => '50.76.53.52',
'hordeauth' => true,
'protocol' => 'imap',
'port' => 142,
'secure' => false,
'cache' => 'sql',
'maildomain' => 'rdwarf.net',
'debug' => '/tmp/hordemail.txt',
'debug_raw' => true,
);
The backends.local.php is being loaded, because the mail server name on the login page is "mail.rdwarf.net".
I plan on using tls for the connection, but was simplifying by trying without security, in case the cert was part of the problem. It didn't seem to matter.
I can't attach a debug log, because one isn't created. No matter what I try, I don't get a log file.
I had a hard time getting Horde to log - I've never been able to get it to log to syslog, and I have no idea why - but when I pointed it at a file, I got a lot of stuff, but only a little that seemed relevant:
2013-10-28T18:41:26+00:00 DEBUG: HORDE Load config file (conf.php; app: horde) [pid 19799 on line 409 of "/usr/share/php5/PEAR/Horde.php"]
2013-10-28T18:41:26+00:00 DEBUG: HORDE Horde_Registry: retrieved app with cache ID horde_registry|app|1382930622|a75beba19aef36e8ab86a3c71924e583 [pid 19799 on line 1994 of "/usr/share/php5/PEAR/Horde/Registry.php"]
2013-10-28T18:41:26+00:00 DEBUG: HORDE [imp] Load config file (conf.php; app: imp) [pid 19799 on line 409 of "/usr/share/php5/PEAR/Horde.php"]
2013-10-28T18:41:26+00:00 DEBUG: HORDE [imp] Load config file (backends.php; app: imp) [pid 19799 on line 409 of "/usr/share/php5/PEAR/Horde.php"]
2013-10-28T18:41:26+00:00 ERR: HORDE [horde] FAILED LOGIN for wwonko [50.76.53.50] to Horde [pid 19799 on line 189 of "/home/web/mail.rdwarf.net/horde-5.1.4/login.php"]
2013-10-28T18:41:26+00:00 DEBUG: HORDE [horde] Error connecting to mail server. [pid 19799 on line 27 of "/usr/share/php5/PEAR/Horde/Core/Notification/Handler/Decorator/Hordelog.php"]
So, that log shows me it won't let me in, and that it told me it won't let me in, but nothing about why.
I am confident this IMAP server works - it's a current Dovecot server, and is being used by mail clients, and by Horde for authentication.
Anyone have any idea why I can't get logs, or what I've missed? Any help is greatly appreciated.
More information about the imp
mailing list