[Tickets #13567] Re: Horde_SMTP misses horde-auth authentication to SMTP server

noreply at bugs.horde.org noreply at bugs.horde.org
Mon Sep 15 14:11:37 UTC 2014


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

Ticket URL: https://bugs.horde.org/ticket/13567
------------------------------------------------------------------------------
  Ticket             | 13567
  Updated By         | arjen+horde at de-korte.org
  Summary            | Horde_SMTP misses horde-auth authentication to SMTP
                     | server
  Queue              | Horde Base
  Version            | 5.2.1
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


arjen+horde at de-korte.org (2014-09-15 14:11) wrote:

>> What parameter are you talking about?
>
> these in config backends.php:

Don't modify imp/config/backends.php. Ever. See the comments in the header.

> $servers['advanced']['smtp'] = array(
>                 'auth' => true,
>                 'horde_auth' => true,
>                 'debug' => '/tmp/smtp.log',
>                 'host' => 'mail.physik.uni-muenchen.de',
>                 'port' => 587,
>         );

Don't override arrays, only the values of individual elements:

<?php
$servers['advanced']['disabled'] = false;
$servers['advanced']['hordeauth'] = true;
$servers['advanced']['smtp']['debug']  = '/tmp/smtp.log';
$servers['advanced']['smtp']['host'] = 'mail.physik.uni-muenchen.de';

should be sufficient (and works for me).

> horde_auth is not used anywhere in Horde_smtp (but it worked before  
> the change to Horde_SMTP), look into /usr/share/pear/Horde/Smtp.php  
> at line 440/441, the code looks only for "username" which is for  
> authentication with _one_ fixed account. We need to use horde_auth,  
> so that the credentials of the user are used.

  As far as I know, the horde_auth parameter is no longer used. I use  
the above configuration without overriding *any* 'smtp' value.

> I did change these two lines, but later in the code also horde_auth  
> is not used.





More information about the bugs mailing list