[Tickets #12001] Re: Courier - max atom size too small

noreply at bugs.horde.org noreply at bugs.horde.org
Mon Jan 28 19:04:42 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12001
------------------------------------------------------------------------------
  Ticket             | 12001
  Updated By         | azurit at pobox.sk
  Summary            | Courier - max atom size too small
  Queue              | IMP
  Version            | 6.0.3
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


azurit at pobox.sk (2013-01-28 19:04) wrote:

Why? i was trying to google it and it looks like i'm not able to set  
this in Courier. I don't know why exactly IMP requested so many  
messages but it happened automatically right after the login so i  
assumed it's not my fault.

Command line length limit in several IMAP servers (default values in bytes):
Courier: 16384 (looks like cannot be changed)
Dovecot: 65536 (can be set in config file)
Cyrus: probably 131072 (can be set in config file)

 From RFC 2683:
    A client should limit the length of the command lines it generates to
    approximately 1000 octets (including all quoted strings but not
    including literals).  If the client is unable to group things into
    ranges so that the command line is within that length, it should
    split the request into multiple commands.  The client should use
    literals instead of long quoted strings, in order to keep the command
    length down.

    For its part, a server should allow for a command line of at least
    8000 octets.  This provides plenty of leeway for accepting reasonable
    length commands from clients.  The server should send a BAD response
    to a command that does not end within the server's maximum accepted
    command length.






More information about the bugs mailing list