All numeric values in IMAP are unsigned; there is no such thing as a negative numeric value in the IMAP protocol. IMAP has two types of numeric value:
 number         a value between 0 and 4,294,967,295 inclusive
 nz-number      a value between 1 and 4,294,967,295 inclusive.

The IMAP QUOTA specification (RFC 2087, page 5) defines all the numeric values used by quota as "number".

A change to use strtol() instead of strtoul() would break the handling of half of the available number space (from 2,147,483,648 to 4,294,967,295). Consequently, such a patch would not be accepted.

Sadly, this is (yet another) bug in Courier. There are numerous known issues in which Courier fails to comply with the IMAP specification; and past history indicates that there is little (if any) hope that these issues will ever be fixed.

If Maildir format is a requirement for you, consider switching to the Dovecot server. I don't know very much about it, but its author participates in the IMAP community and seems willing to make changes in his software as needed to require with the IMAP specification.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to