Fixed $maxbytespersecond configurable option. This was still not working because it took the DB value of maxage.
"First GitHub update for me, so please tell if I should have something different. ;) "
Outlook 2016 autoconfig will not be EAS enabled, even though "$autodiscover_config['useEASforOutlook'] = 'yes';
Outlook 2016 gives the HTTP_USER_AGENT string of "Microsoft Office/16.0 (Windows NT 10.0; MAPI 16.0.9001; Pro)"
Limiting the regex to only 15, causes the entire if statement to fail.
For future proofing, this has been set to any version string containing 15,16,17,18,19
This has been tested using the "Test Email AutoConfiguration for Outlook 2016"
** I agree to the code of conduct and the contributory guidelines **
Tested with 80+GB single inbox via imap
``` --nofoldersizes --skipsize --fast ``` file and folder sizes are only used for statistics, which are completely useless. Before the actual data is transfered the message and folder sizes need to be calculated on a 200 000+ message inbox, this will almost never complete.
``` --buffersize 8192000 ``` sets the io buffer to 8mb, the default buffer is 4kbyte, this is speeds up syncs.
``` --skipheader 'X-*' ``` X headers vary wildly from system to system and do not ensure message uniqueness, they are not needed.
``` --split1 3000 --split2 3000 ``` split the requests in several parts on the server, 3000 is the number of messages handled per request.
``` --fastio1 --fastio2 ``` use fastio
Where there is a lot of folders in a mailbox the output may be larger
than TEXT will allow (64KiB). Instead use MEDIUMTEXT (16MiB) which
should be ample.
Additionally check that a sync isn't already running before starting
a new one.
Fixes: #1011