[horde] smtp auth sasl

Simon Wilson simon at simonandkate.net
Wed Feb 29 23:13:54 UTC 2012


----- Message from Jan Schneider <jan at horde.org> ---------
    Date: Wed, 29 Feb 2012 16:29:44 +0100
    From: Jan Schneider <jan at horde.org>
Subject: Re: [horde] smtp auth sasl
      To: horde at lists.horde.org


> Zitat von Nicolás Valera <nvalera at gmail.com>:
>
>> Jan, thanks for answer!
>> maybe i didn't explain well.
>> I'm trying to configure the horde mailer with a sasl auth smtp  
>> server and if it is possible with the user credentials.
>>
>> $conf['mailer']['params']['host'] = 'smtps.example.com';
>> $conf['mailer']['params']['port'] = 465;
>> $conf['mailer']['params']['auth'] = true;
>>
>> i didn't see the ssl option
>
> Try this:
>
> $conf['mailer']['params']['host'] = 'ssl://smtps.example.com';
> $conf['mailer']['params']['port'] = 465;
> $conf['mailer']['params']['auth'] = true;
>
>> On 02/29/2012 11:35 AM, Jan Schneider wrote:
>>>
>>> Zitat von Nicolás Valera <nvalera at gmail.com>:
>>>
>>>> hi, is it possible to configure horde to use SMTP authentication  
>>>> using ssl and current username/password used by the logged user,  
>>>> instead of a fixed username/password specified on  
>>>> horde/config/conf.php ?
>>>
>>> One hasn't do with the other, so: yes.
>>>
>>

I found this worked for me:

$conf['mailer']['params']['host'] = 'server04.simonandkate.lan';
$conf['mailer']['params']['port'] = 587;
$conf['mailer']['params']['auth'] = true;

Automatically uses TLS and auths as user. Will obviously vary  
dependent on your mailer config.

If I try ssl:// it fails to send.

Simon



More information about the horde mailing list