[Tickets #12255] Re: SMTP authentication broken
    noreply at bugs.horde.org 
    noreply at bugs.horde.org
       
    Sat May 18 20:22:15 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         | Michael Slusarz <slusarz at horde.org>
  Summary            | SMTP authentication broken
  Queue              | IMP
  Version            | 6.1.0beta2
  Type               | Bug
  State              | Not A Bug
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------
Michael Slusarz <slusarz at horde.org> (2013-05-18 14:22) wrote:
> 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.
This is *exactly* my setup.  My SMTP server requires authentication.   
I can verify that IMP uses the Horde authentication credentials to  
login to the SMTP server.  I have no 'smtp' config in IMP's  
backends.php.
My Horde SMTP configuration looks like this:
$conf['mailer']['params']['host'] = 'localhost';
$conf['mailer']['params']['port'] = 25;
$conf['mailer']['params']['localhost'] = 'localhost';
$conf['mailer']['params']['auth'] = true;
$conf['mailer']['type'] = 'smtp';
In IMP's IMP_Factory_Mail, I can verify the following as the  
configuration (the $params variable):
Array
(
     [host] => localhost
     [port] => 25
     [localhost] => localhost
     [auth] => 1
     [username] => XXX
     [password] => YYY
)
I can also verify that these credentials are correctly being set in  
the SMTP object:
Horde_Mail_Transport_Smtp Object
(
     [greeting] =>
     [queuedAs] =>
     [_smtp:protected] =>
     [_extparams:protected] => Array
         (
         )
     [sep] =>
     [_params:protected] => Array
         (
             [auth] => 1
             [debug] =>
             [host] => localhost
             [localhost] => localhost
             [password] => YYY
             [persist] =>
             [pipelining] =>
             [port] => 25
             [timeout] =>
             [username] => XXX
         )
)
Proof from the mail headers:
Received: from localhost (localhost.localdomain [127.0.0.1])
	(Authenticated sender: slusarz)
	by bigworm.curecanti.org (Postfix) with ESMTPSA id 37A6E7022
	for <slusarz+test at curecanti.org>; Sat, 18 May 2013 14:09:39 -0600 (MDT)
[snip]
User-Agent: Internet Messaging Program (IMP) H5 (6.1.0-git)
    
    
More information about the bugs
mailing list