[imp] SASL authentication in IMP-6.1.0beta1

Michael M Slusarz slusarz at horde.org
Sat May 18 19:31:23 UTC 2013


Quoting Arjen de Korte <arjen+horde at de-korte.org>:

> The below works for me in IMP-6.1.0beta2 (from  
> 'imp/config/backends.local.php'):
>
>     'smtp' => array(
>         'auth' => true,
>         'debug' => false,
>         'localhost' => 'localhost',
>         'host' => 'localhost',
>         'password' => null,
>         'port' => 587,
>         'username' => null
>     ),

As mentioned in the bug report, this is incorrect if you want to use  
Horde defaults for username/password.  That's because you are  
explicitly overwriting the default username/password passed in since,  
as mentioned in the documentation, *any *parameter in IMP's 'smtp'  
configuration array will overwrite the default value.  (This was  
broken in pre-6.1 versions of IMP, so the above *might* have worked by  
happenstance.)

In fact... if you are using Horde defaults, you don't need to define  
an 'smtp' entry in config/backends.local.php at all.

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the imp mailing list