Re: [Imap-protocol] Working around the evils of LITERAL+

Timo Sirainen <[email protected]>
Newsgroups gmane.mail.imap.general
Message-ID <[email protected]>
On 1.4.2013, at 8.42, Brandon Long <[email protected]> wrote:

> On Sat, Mar 30, 2013 at 2:01 PM, Timo Sirainen <[email protected]> wrote:
> On 26.3.2013, at 23.26, Brandon Long <[email protected]> wrote:
> 
> > So, if a user attempted to draft a message larger than our limit (35MB), with LITERAL+, the client would just issue an APPEND with two large a message.  Our options were to just eat the data and say NO afterwards (great waste of bandwidth) or drop the connection.  Some clients would just keep retrying to do the APPEND until they exhausted the upload bandwidth quota, or just cost the user a lot of money if they happened to be on a line that charged.
> 
> Did you consider blocking the client's IP for n minutes and sending the user an email explaining the issue and asking to reset the client?
> 
> 
> If we block the IP, they won't get the email either... but there may be something there that could work.

I was more thinking that the user would then login via webmail to find the mail. Maybe not block entirely but show login failure with [ALERT] or something.

> I'm more thinking that implementing the UTF8 rfc (or at least parts of it) would eliminate most of the need to use literals in commands, giving us the near equivalent to "only allow literal+ except for append".

Well, would be nice to implement UTF8 in any case, but somehow I doubt it's going to help anytime soon.

_______________________________________________
Imap-protocol mailing list
[email protected]
http://mailman2.u.washington.edu/mailman/listinfo/imap-protocol
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.