[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:20:20 UTC 2014


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: https://bugs.horde.org/ticket/13567
------------------------------------------------------------------------------
  Ticket           | 13567
  Aktualisiert Von | Klaus.Steinberger at physik.uni-muenchen.de
  Zusammenfassung  | Horde_SMTP misses horde-auth authentication to SMTP
                   | server
  Warteschlange    | Horde Base
  Version          | 5.2.1
  Typ              | Bug
  Status           | Not A Bug
  Priorität        | 1. Low
  Milestone        |
  Patch            |
  Zuständige       |
------------------------------------------------------------------------------


Klaus.Steinberger at physik.uni-muenchen.de (2014-09-16 06:20) hat geschrieben:

Some more debugging:

I added some debug output, as well as changed line 440/441 to respect  
the horde_auth parameter, so the code tries authentication:

Connection to: smtp://mail.physik.uni-muenchen.de:587
S: 220 mail.physik.uni-muenchen.de ESMTP Postfix
C: EHLO testwebmail.physik.uni-muenchen.de
S: 250-mail.physik.uni-muenchen.de
S: 250-PIPELINING
S: 250-SIZE 31457280
S: 250-VRFY
S: 250-ETRN
S: 250-STARTTLS
S: 250-XVERP
S: 250-ENHANCEDSTATUSCODES
S: 250-8BITMIME
S: 250 DSN
C: STARTTLS
S: 220 2.0.0 Ready to start TLS
>> Successfully completed TLS negotiation.
C: EHLO testwebmail.physik.uni-muenchen.de
S: 250-mail.physik.uni-muenchen.de
S: 250-PIPELINING
S: 250-SIZE 31457280
S: 250-VRFY
S: 250-ETRN
S: 250-AUTH LOGIN PLAIN
S: 250-AUTH=LOGIN PLAIN
S: 250-XVERP
S: 250-ENHANCEDSTATUSCODES
S: 250-8BITMIME
S: 250 DSN
>> Before required ESMTP extensions
>> checking extensionENHANCEDSTATUSCODES
>> checking extensionPIPELINING
>> After required ESMTP extensions
>> Before check auth: LOGIN PLAIN
>> Try auth LOGIN
C: AUTH LOGIN
S: 334 VXNlcm5hbWU6
C:
S: 334 UGFzc3dvcmQ6
[AUTH Command - method: LOGIN; username: ]
S: 535 5.7.8 Error: authentication failed: generic failure
>> Try auth PLAIN
[AUTH Command - method: PLAIN; username: ]
S: 535 5.7.8 Error: authentication failed: generic failure
C: QUIT
S: 221 2.0.0 Bye
quit

As you can see the code never gets the correct credentials. This is  
due to the fact that in Line 776 in /usr/share/pear/Horde/smtp.php in  
the function _auth username and password will be filled with the  
parameters username and password, which resembled a dedicated login  
for SMTP delivery.

But what we need is the login credentials of the user!





More information about the bugs mailing list