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

Dave Warren <[email protected]>
Newsgroups gmane.mail.imap.general
Message-ID <[email protected]>
On 2013-04-01 09:00, Tim Showalter wrote:
> On 3/30/13 2:01 PM, Timo Sirainen 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 the client is a mobile phone, they are coming from some NAT address 
> and you stand a good chance of blocking a large number of users.

You wouldn't necessarily block the entire IP, but rather, the IP in 
question from accessing that particular account. Or possibly all IMAP 
access to the account in question since some mobile devices regularly 
flip between IPs.

For two-factor-auth enabled users, you could just block that IP and a 
specific two-factor password so as to impact the user as little as possible.

-- 
Dave Warren
http://www.hireahit.com/
http://ca.linkedin.com/in/davejwarren

_______________________________________________
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.