Re: [Imap-protocol] Working around the evils of LITERAL+
Timo Sirainen <[email protected]>
| Newsgroups | gmane.mail.imap.general |
|---|---|
| Message-ID | <[email protected]> |
On 27.3.2013, at 12.03, Alexey Melnikov <[email protected]> wrote: >> And that limit is advertised via EHLO at SMTP time, but there's no mechanism for doing that with IMAP. > > Let's standardize a way to advertise such limit. I might have use for it as well. I wonder if it should be per-mailbox limit.. Something like: a LOGIN foo bar * OK [APPENDSIZE 10000000] Maximum size allowed by this server a OK Logged in b SELECT INBOX .. * OK [APPENDSIZE 10000] Maximum size allowed by this mailbox. .. c UNSELECT c OK d APPEND elsewhere {100000} d NO [APPENDSIZE 1000] Too big message d APPEND elsewhere {100000+} d NO [APPENDSIZE 1000] Too big message Although using the same APPENDSIZE may confuse clients. Then again using different GLOBALAPPENDSIZE and MAILBOXAPPENDSIZE may cause clients to use only one of them. So .. maybe a per-mailbox limit isn't that useful. I was mainly thinking about different users having different limits, causing shared mailboxes to have different limits. Or maybe some other special mailboxes with special rules. BTW. Another related issue is that IMAP is now limited to 4 GB mails. This RFC might as well allow servers and clients to increase that to 64bit value._______________________________________________ Imap-protocol mailing list [email protected] http://mailman2.u.washington.edu/mailman/listinfo/imap-protocol