6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
8/20/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#8478] Bad or malformed request. Server Responded: Command unrecognized: LOGIN
*
Your Email Address
*
Spam protection
Enter the letters below:
.__..__ .___. __..___. | |[__) _/ (__ | |__|| ./__..__) |
Comment
> Software that we are running: > > > > * Horde Groupware Webmail Edition (version 1.2.3) (IMP 4.3.4) > > * UW-IMAP (version 2007e) > > > > Webmail is configured to authenticate using the IMP application. > > > > The handling of the NO response for untagged responses doesn't appear > to be consistent with RFC 3501 Section 7.1.2 (NO Response). > > > > http://www.rfc-editor.org/rfc/rfc3501.txt > > > > From what I can tell from the logs and the corresponding code, the > handling of the response is done in the case statment found in the > _runCommand() function in > > the file > > > > horde/imp/lib/IMAP/Client.php > > > > We noticed this behavior while testing the following scenario: > > > > * We use the IMAP host's native account expiration. > > > > * From the time that the expiration field is set and excluding its > final day, the status information, displayed by IMP (as provided by > the IMAP server via an untagged alert), is correct: > > > > Account expires in x days(s)! > > > > * On the final day (the account has not yet expired), the login > attempt fails, and the following informational message is provided on > the Horde login page: > > > > Bad or malformed request. Server Responded: Command unrecognized: LOGIN > > > > * The expected behavior is a successful login and the status: > > > > Account expires today! > > > > When we look at the untagged IMAP server responses for the two cases > they were: > > > > * NO [ALERT] Account expires today! > > * OK [ALERT] Account expires in x day(s)! > > > > Here is an excerpt from our logs: > > > > ------------- > > Aug 3 16:38:20 HORDE[14505]: [imp] Could not complete request. > Reason Given: [ALERT] Account expires today!: NO [pid 14505 on line > 382 of "/opt/horde-webmail-1.2.3/imp/lib/IMAP/Client.php"] > > Aug 3 16:38:20 HORDE[14505]: [imp] Bad or malformed request. Server > Responded: Command unrecognized: LOGIN: BAD [pid 14505 on line 382 of > "/opt/horde-webmail-1.2.3/imp/lib/IMAP/Client.php"] > > Aug 3 16:38:20 HORDE[14505]: [imp] IMAP alerts: [ALERT] Account > expires today! [pid 14505 on line 170 of > "/opt/horde-webmail-1.2.3/imp/lib/IMAP.php"] > > ------------- > > > >
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