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

noreply at bugs.horde.org noreply at bugs.horde.org
Tue Sep 16 06:49:20 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              | Not A Bug
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


arjen+horde at de-korte.org (2014-09-16 06:49) wrote:


>> <?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).
>
> No, definitly not, I _need_  horde_auth as my SMTP server requires  
> authentication with the user credentials, and this part is missing  
> in the code. Did you not read my comments correctly?

I did and as I told you, it works for me. But in the above contents of  
the imp/config/backends.local.php one line was missing. These are the  
full contents of this file on my system:

<?php
$servers['imap']['disabled'] = true;

$servers['advanced']['disabled'] = false;
$servers['advanced']['hordeauth'] = true;
$servers['advanced']['maildomain'] = 'de-korte.org';
$servers['advanced']['cache'] = 'sql';
$servers['advanced']['quota']['params']['unit'] = 'GB';
$servers['advanced']['quota']['params']['hide_when_unlimited'] = false;
$servers['advanced']['spam']['innocent']['program'] = '/usr/bin/spamc  
-C revoke';
$servers['advanced']['spam']['innocent']['display'] = true;
$servers['advanced']['spam']['spam']['program'] = '/usr/bin/spamc -C report';
$servers['advanced']['spam']['spam']['display'] = true;
$servers['advanced']['autocreate_special'] = true;

You may run into problems if the second line is missing, since then  
Horde will use the 'imap' configuration, instead of the 'advanced'  
configuration. The only other thing that would need an override in  
your case, is

$servers['advanced']['smtp']['host'] = 'mail.physik.uni-muenchen.de';

>>  As far as I know, the horde_auth parameter is no longer used. I use
>> the above configuration without overriding *any* 'smtp' value.
>
> That only works if the SMTP servers needs no authentication or works  
> with an dedicated account!

I don't use a dedicated account for SMPT AUTH, the credentials that  
users entered when logging into the Horde portal are used. I'm 100%  
sure this works, since the SMTP FROM address is checked to verify that  
a user is allowed to use a sender address (to prevent them from  
spoofing addresses).





More information about the bugs mailing list