6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/20/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#13567] Horde_SMTP misses horde-auth authentication to SMTP server
*
Your Email Address
*
Spam protection
Enter the letters below:
.___.. ..___..___..__ _/ | | | | [__) ./__.|/\| | | [__)
Comment
> 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!
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers