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

Jan Schneider jan at horde.org
Fri May 8 16:42:30 UTC 2015


Zitat von Tim Smith <r.andomdev4+imp at gmail.com>:

> 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 !
> --
> imp mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org

Try setting the 'secure' setting in your backend.php's 'smtp' section  
to 'tls' or 'ssl'. The default should already be TLS though and that  
should be supported by the submission port.

-- 
Jan Schneider
The Horde Project
http://www.horde.org/
https://www.facebook.com/hordeproject



More information about the imp mailing list