[imp] "Error Connecting to SMTP Server" - Having difficulty troubleshooting !

Tim Smith r.andomdev4+imp at gmail.com
Fri May 8 14:09:45 UTC 2015


Hi,

Horde 5.2.5, Imp 6.2.8.  Both installed via PEAR.

When I try to send a mail in IMP, I get an error message saying "Error
Connecting to SMTP Server"

The server it is trying to connect to is a Postifx server, which gives
the following error " lost connection after UNKNOWN".

The authentication credentials are correct, I have validated these via
the openssl s_client method.

My horde/imp/config/backends.local.php looks like the below.  Although
the debug file exists, and I’ve even set it chmod 777, horde writes
absolutely nothing to the debug file.

$servers['imap']['disabled'] = true;
$servers['advanced'] = array (
    'disabled' => false,
    'name' => 'IMAP Server',
    'hostspec' => 'mx.example.com',
    'hordeauth' => 'full',
    'protocol' => 'imap',
    'port' => 993,
    'secure' => 'ssl',
    'smtp' => array(
        'auth' => true,
        'host' => 'send.example.com',
        'password' => ‘none_of_your_business’,
        'port' => 587,
        'horde_auth'=>false,
        'username' => 'horde',
        'debug' => '/tmp/smtpdebug8may.txt',
        'debug_raw' => true,
        'localhost' => 'horde.example.com',
    ),
);


my horde/config/conf.php looks like the following :

$conf['mailer']['params']['host'] = 'send.example.com';
$conf['mailer']['params']['port'] = 587;
$conf['mailer']['params']['secure'] = 'ssl';
$conf['mailer']['params']['localhost'] = 'horde.example.com';
$conf['mailer']['params']['username'] = 'horde';
$conf['mailer']['params']['username_auth'] = false;
$conf['mailer']['params']['password'] = 'none_of_your_business';
$conf['mailer']['params']['password_auth'] = false;
$conf['mailer']['params']['auth'] = true;
$conf['mailer']['params']['lmtp'] = false;
$conf['mailer']['type'] = 'smtp';


Thanks for your help !


More information about the imp mailing list