By default, Apple Mail downloads all e-mails from server's account. Previous versions of this client allowed to opt-out. The latest two versions? however, only allow to opt-out from downloading the attachments. The stress on the server is unbearable. We cannot ask users to be considerate: this is the default behaviour of Apple Mail. We need a server-side solution to the problem. Please share your ideas.
Am 30.10.2017 um 10:38 schrieb Rupert Gallagher:> By default, Apple Mail downloads all e-mails from server's account. Previous versions of this client allowed to opt-out. The latest two versions? however, only allow to opt-out from downloading the attachments. > > The stress on the server is unbearable. We cannot ask users to be considerate: this is the default behaviour of Apple Mail. > > We need a server-side solution to the problem. > > Please share your ideas. >first check if you can ident Apple Mail versions related, i recent have none in my log , but i.e Android does ---log ID sent: name=com.samsung.android.email.provider, os=android, os-version=7.0; NRD90M, vendor=samsung, x-android-device-model=SM-G930F ----- then you need a procedure for limit....i have no idea which one Best Regards MfG Robert Schetterer -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64 Schlei?heimer Stra?e 26/MG, 80333 M?nchen Sitz der Gesellschaft: M?nchen, Amtsgericht M?nchen: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein
Am 30.10.2017 um 17:50 schrieb Robert Schetterer:> Am 30.10.2017 um 10:38 schrieb Rupert Gallagher: >> By default, Apple Mail downloads all e-mails from server's account. Previous versions of this client allowed to opt-out. The latest two versions? however, only allow to opt-out from downloading the attachments. >> >> The stress on the server is unbearable. We cannot ask users to be considerate: this is the default behaviour of Apple Mail. >> >> We need a server-side solution to the problem. >> >> Please share your ideas. >> > > first check if you can ident Apple Mail versions related, i recent have > none in my log , but i.e Android does > > ---log > ID sent: name=com.samsung.android.email.provider, os=android, > os-version=7.0; NRD90M, vendor=samsung, x-android-device-model=SM-G930F > ----- > > then you need a procedure for limit....i have no idea which one > > Best Regards > MfG Robert Schetterer >I dont know Apple Mail very good, but as workaround you might use sieve to presort mails on the server at incomming in (sub)folders which arent synced at default i.e in a date named folder, for sure users ( you should know your apple mail users ) then need configure an extra subscribe on these folders. Perhaps a combi with virtual folders may usefull , for now not better idea , iam nearly sure this is not what you you expected and/or wanted seems google has a feature to "hide" mails see https://www.guidingtech.com/44581/prevent-mail-app-space-mac/ however if feel very strange with this Best Regards MfG Robert Schetterer -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64 Schlei?heimer Stra?e 26/MG, 80333 M?nchen Sitz der Gesellschaft: M?nchen, Amtsgericht M?nchen: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein
When Apple Mail connects to an IMAP account for the very first time, it downloads all e-mails to build a local mirror. When the user changes the name of a folder, Apple Mail downloads the whole subtree and erases the old one. We have Apple Mail users with >20GB worth of e-mails, downloaded multiple times (horrified emoticon here). Sent from ProtonMail Mobile On Mon, Oct 30, 2017 at 10:38 AM, Rupert Gallagher <ruga at protonmail.com> wrote:> By default, Apple Mail downloads all e-mails from server's account. Previous versions of this client allowed to opt-out. The latest two versions? however, only allow to opt-out from downloading the attachments. > > The stress on the server is unbearable. We cannot ask users to be considerate: this is the default behaviour of Apple Mail. > > We need a server-side solution to the problem. > > Please share your ideas.
> On 31 Oct 2017, at 8.42, Rupert Gallagher <ruga at protonmail.com> wrote: > > When Apple Mail connects to an IMAP account for the very first time, it downloads all e-mails to build a local mirror. > > When the user changes the name of a folder, Apple Mail downloads the whole subtree and erases the old one. > > We have Apple Mail users with >20GB worth of e-mails, downloaded multiple times (horrified emoticon here). > > Sent from ProtonMail MobileI can?t think of any easy way to rate limit Apple mail. Only thing that crossed my mind is to enable ID response logging and then with some logwatch process use some traffic shaping solution to limit the bandwith of that particular connection after some period of time. Sami
ml+dovecot at moritz.augsburger.name
2017-Oct-31 10:29 UTC
How to limit Apple Mail (desktop)?
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
> 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
?? If you use Linux you can use netfilter (iptables) mark feature to track individual connections from a given IP, and above a threshold you can shape the bandwitdh based on those iptables mark. For example, if an IMAP connection from ip X exceed 100 megabytes of data, bandwitdh for that ip would be limited to 100 KB/sec (or whatever number). First 100 megabytes, top speed, above that they get slower. ??? Regards ??? Mar?a El 30/10/17 a las 10:38, Rupert Gallagher escribi?:> By default, Apple Mail downloads all e-mails from server's account. Previous versions of this client allowed to opt-out. The latest two versions? however, only allow to opt-out from downloading the attachments. > > The stress on the server is unbearable. We cannot ask users to be considerate: this is the default behaviour of Apple Mail. > > We need a server-side solution to the problem. > > Please share your ideas.
Am 31.10.2017 um 14:06 schrieb Mar?a Arrea:> > ?? If you use Linux you can use netfilter (iptables) mark feature to > track individual connections from a given IP, and above a threshold you > can shape the bandwitdh based on those iptables mark. For example, if an > IMAP connection from ip X exceed 100 megabytes of data, bandwitdh for > that ip would be limited to 100 KB/sec (or whatever number). First 100 > megabytes, top speed, above that they get slower.dont think this will work tons of cons can come from a nat ip so you would punish everyone behind that ip ,not only apple mail i see no real solution for the problem, cause if the server works out some slow down this would only lead to longer download times, but will no solve the orig wanted task. It will all be workarounds for a "buggy" client> > ??? Regards > > ??? Mar?a > > > El 30/10/17 a las 10:38, Rupert Gallagher escribi?: >> By default, Apple Mail downloads all e-mails from? server's account. >> Previous versions of this client allowed to opt-out. The latest two >> versions? however, only allow to opt-out from downloading the >> attachments. >> >> The stress on the server is unbearable. We cannot ask users to be >> considerate: this is the default behaviour of Apple Mail. >> >> We need a server-side solution to the problem. >> >> Please share your ideas.Best Regards MfG Robert Schetterer -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64 Schlei?heimer Stra?e 26/MG, 80333 M?nchen Sitz der Gesellschaft: M?nchen, Amtsgericht M?nchen: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein