6.0.0-git
2019-03-21

[#5679] SMTP auth "Best available authentication" does not work
Summary SMTP auth "Best available authentication" does not work
Queue Horde Framework Packages
Queue Version HEAD
Type Bug
State Resolved
Priority 2. Medium
Owners jan (at) horde (dot) org
Requester horde-bugs (at) conuropsis (dot) org
Created 2007-08-29 (4222 days ago)
Due
Updated 2007-09-10 (4210 days ago)
Assigned 2007-08-29 (4222 days ago)
Resolved 2007-09-10 (4210 days ago)
Milestone
Patch No

History
2007-09-10 17:32:06 Jan Schneider Comment #3
Taken from Horde DevelopersHorde Developers
State ⇒ Resolved
Reply to this comment
Fixed in CVS. Horde_Config is smart enough to convert literal "false" 
and "true" strings to PHP boolean scalars.
2007-08-29 20:08:42 Chuck Hagenbuch Version ⇒ HEAD
 
2007-08-29 20:08:22 Chuck Hagenbuch Comment #2
Assigned to Jan Schneider
Assigned to Horde DevelopersHorde Developers
State ⇒ Assigned
Reply to this comment
Any ideas on the best way to do this?
2007-08-29 05:51:07 horde-bugs (at) conuropsis (dot) org Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Summary ⇒ SMTP auth "Best available authentication" does not work
Queue ⇒ Horde Framework Packages
Reply to this comment
If one sets Mailer / SMTP authentication to "Best available 
authentication" in the admin web interface, this sets the option to 
the string '1'. But this instructs Mail_smtp to instruct Net_SMTP to 
use authentication method '1' only, not PLAIN/LOGIN/CRAM-MD5/... 
whatever the server supports. Indeed, abstract from Mail_smtp:



         if ($this->auth) {

             $method = is_string($this->auth) ? $this->auth : '';



The "best available authentication" enum choice needs to set the 
option to the boolean true, or the integer 1, or any other non-string 
value that is not the boolean false.


Saved Queries