> What's in your mind as solution?When dovecot receives many full body downloads from a client, it could respond by sending the header only. Sent from ProtonMail Mobile On Tue, Oct 31, 2017 at 11:29 AM, <ml+dovecot at moritz.augsburger.name> wrote:> Hi, On 30.10.2017 10:38, Rupert Gallagher wrote: > We need a server-side solution to the problem. more powerfull hardware? What's in your mind as solution? Don't tell the client about the mails -> user will miss old mails. Stop him from fetching body with a temporary "UNAVAILABLE" failure? -> Don't know how apple mail will react, but probably present some error to the user for every mail. The only possibility that would make sense to me is some form of rate limiting to reduce the server load. Give them some tens of Megabytes w/o any restriction, then reduce. Regards Moritz
On 31.10.2017 14:44, Rupert Gallagher wrote:>> What's in your mind as solution? > When dovecot receives many full body downloads from a client, it could respond by sending the header only.This sounds rather dangerous. Client is expecting full body download, not headers. Aki> Sent from ProtonMail Mobile > > On Tue, Oct 31, 2017 at 11:29 AM, <ml+dovecot at moritz.augsburger.name> wrote: > >> Hi, On 30.10.2017 10:38, Rupert Gallagher wrote: > We need a server-side solution to the problem. more powerfull hardware? What's in your mind as solution? Don't tell the client about the mails -> user will miss old mails. Stop him from fetching body with a temporary "UNAVAILABLE" failure? -> Don't know how apple mail will react, but probably present some error to the user for every mail. The only possibility that would make sense to me is some form of rate limiting to reduce the server load. Give them some tens of Megabytes w/o any restriction, then reduce. Regards Moritz
> On 31 Oct 2017, at 14.44, Rupert Gallagher <ruga at protonmail.com> wrote: > >> What's in your mind as solution? > > When dovecot receives many full body downloads from a client, it could respond by sending the header only.That would not be nice. Breaking IMAP protocol that way. Some rate limiting would be better solution. Sami
Aki, the IMAP client can receive the e-mails with an empty body without any damage. This is how IMAP works normally. The full body is queried again by the client when reading the e-mail for real. On Tue, Oct 31, 2017 at 1:52 PM, Aki Tuomi <aki.tuomi at dovecot.fi> wrote:>>> What's in your mind as solution?>> When dovecot receives many full body downloads from a client, it could respond by sending the header only.> This sounds rather dangerous. Client is expecting full body download, not headers. Aki