[Tickets #12255] Re: SMTP authentication broken

noreply at bugs.horde.org noreply at bugs.horde.org
Sat May 18 19:59:04 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12255
------------------------------------------------------------------------------
  Ticket             | 12255
  Updated By         | arjen+horde at de-korte.org
  Summary            | SMTP authentication broken
  Queue              | IMP
  Version            | 6.1.0beta2
  Type               | Bug
  State              | Not A Bug
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


arjen+horde at de-korte.org (2013-05-18 19:59) wrote:

> OK - verified that this works.  Still needs to be documented in  
> horde/conf.xml (this is clearly documented in IMP's backends.php),  
> as my confusion over this feature clearly indicates.  And this DOES  
> work for all authentication backends.
>
>> If the same information from the Mailer tab is entered in
>> 'imp/config/backends.local.php' with 'username' and 'password' both
>> null, authentication succeeds, so it looks like there is a problem
>> with initialization the settings from the Mailer tab.
>
> That's why.  Don't set 'username' and 'password' in IMP, because  
> those strings are used as the authentication strings.  If you want  
> to use the Horde defaults, don't define those strings at all.

OK, I'm officially lost now.

In Horde-5.0.4 I have the following in 'config/conf.php':

$conf['mailer']['params']['port'] = 587;
$conf['mailer']['params']['auth'] = true;
$conf['mailer']['type'] = 'smtp';

There is no smtp array in 'imp/config/backends.local.php'. This has  
worked since I started using Horde (about three years ago) and uses  
the credentials used for authentication to Horde for SMTP  
authentication. Since the upgrade to the latest beta versions, this no  
longer works.

What am I supposed to do if I want to use the credentials for logging  
into Horde for SMTP authentication? Is the configuration in the Mailer  
tab supposed to work? If yes, this bug is still open because it no  
longer works. If no, this needs to be documented in the changelist,  
since this is a BC break.

I *only* added the following in 'imp/config/backends.local.php' to  
work around this.

     'smtp' => array(
         'auth' => true,
         'password' => null,
         'port' => 587,
         'username' => null
     ),

The above will use SMTP authentication for sending messages with the  
credentials for logging into Horde. Is this *not* supposed to work? If  
not, how should one configure using per-user SMTP authentication for  
sending messages instead?





More information about the bugs mailing list