[horde] [SOLVED] Error connecting to smtp server

Michael M Slusarz slusarz at horde.org
Thu Aug 29 05:33:18 UTC 2013


Quoting Gary <witscher at gmail.com>:

> Quoting XG41 <witscher at gmail.com>:
>
>> On Wed, 28 Aug 2013 00:07:36 -0600
>> Michael M Slusarz <slusarz at horde.org> wrote:
>>
>>> Quoting XG41 <witscher at gmail.com>:
>>>
>>>> Hi,
>>>>
>>>> After upgrading imp 6.1.4 I am unable to send email. I get this
>>>> error message. I haven't changed anything other than to upgrade all
>>>> upgradable packages. Using Ubuntu LTS.
>>>>
>>>> I seem to recall someone mentioning a similar problem but can't seem
>>>> to find the message. Has anyone else had this issue? Any help would
>>>> be appreciated.
>>>>
>>>>
>>>> 2013-08-28T05:11:00+00:00 ERR: HORDE [imp] Error connecting to SMTP
>>>> server. [0] php_network_getaddresses: getaddrinfo failed: Name or
>>>> service not known [pid 13963 on line 1064 of
>>>> "/var/www/horde/imp/lib/Compose.php"]
>>>
>>> I would double check your SMTP host settings.  Or temporarily convert
>>> your SMTP host to an IP address (maybe a DNS resolving issue?).
>>>
>>> michael
>>>
>> Thanks for the suggestions, Michael. I'm using smtp.gmail.com for  
>> smtp, have been for as long as I've been using horde. The settings  
>> haven't changed, and I'm still getting the same error.
>>
>> Am I supposed to install horde_smtp, never have before?
>>
>> Any other suggestions would be much appreciated.
>>
>> TIA,
>> Gary
>> --
>
> I had to change my smtp settings. I used to use ssl://smtp.gmail.com  
> on port 465. That no longer works.  I removed the ssl:// part, using  
> smtp.gmail.com and use port 578. That works.
>
> Just a bit of trial and error. Thanks again for the help.

Yes - there's currently no way of configuring 'ssl' direct access to  
the SMTP server.  This is a limitation of the Horde configuration, not  
of the new SMTP library.

(For the record, connecting via SSL was never supported with the old  
Net_SMTP configuration.  If it happened to work by appending 'ssl://'  
to the host, that was completely unintentional.)

We might add this configuration option in the future.  Although  
everybody using SMTP *really* should be using port 587, and the new  
code will automatically use TLS if available on this port.  Further,  
everyone should be using authentication to the SMTP server.  The days  
of sending via open SMTP relays (should have) long since passed.

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the horde mailing list