Menu

#124 "NO Quota exceeded." Ignored during APPEND

open
nobody
7
2006-06-30
2006-05-30
No

Trying to save a draft message, that will exceed the
quota, fails with a cryptic message (server specific)...

Ether SM needs to support LITERAL+ extension, or look
wait for the "+ OK" or a "NO" error message from the
server.

See following taken from email on dovecot list (server
tested with).

Thanks

Tim

SquirrelMail: 1.5.1
Apache: 1.3.33
PHP: 4.3.10-16
IMAP Server: Dovecot beta8

Extracted from email on dovecot list:
A working APPEND goes like this:

C: 1 APPEND "Drafts" {1000}
S: + OK
C: <sends 1000 bytes of message>
S: 1 OK Append completed.

In out-of-quota situations Squirrelmail does this:

C: 1 APPEND "Drafts" {1000}
S: 1 NO Quota exceeded
C: <sends 1000 bytes of message anyway>

With literal+ this happens:

C: 1 APPEND "Drafts" {1000+}
C: <sends 1000 bytes of message>
S: 1 NO Quota exceeded.

So the literal+ allows client to send the data without
actually waiting
to see if server replies with "+" or "NO".

Discussion

  • Tomas Kuliavas

    Tomas Kuliavas - 2006-05-30
    • milestone: 241848 -->
     
  • Tomas Kuliavas

    Tomas Kuliavas - 2006-05-30

    Logged In: YES
    user_id=225877

    Issue is specific to 1.5.x. In SquirrelMail 1.4.x
    sqimap_append() and sqimap_append_checkresponse() functions
    check IMAP response before code tries to save message.

     
  • Timothy White

    Timothy White - 2006-06-30
    • labels: --> Broken Functionality
    • priority: 5 --> 7
     

Log in to post a comment.