Browse Source

Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized

André Peters 7 years ago
parent
commit
1d2153c0c6
1 changed files with 8 additions and 0 deletions
  1. 8 0
      data/Dockerfiles/dovecot/imapsync_cron.pl

+ 8 - 0
data/Dockerfiles/dovecot/imapsync_cron.pl

@@ -74,6 +74,14 @@ while ($row = $sth->fetchrow_arrayref()) {
 	"--timeout1", "10",
 	"--tmpdir", "/tmp",
 	"--subscribeall",
+	"--nofoldersizes",
+	"--skipsize",
+	"--buffersize 8192000",
+	"--skipheader 'X-*'",
+	"--split1 3000",
+	"--split2 3000",
+	"--fastio1",
+	"--fastio2",
 	($exclude eq ""	? () : ("--exclude", $exclude)),
 	($subfolder2 eq "" ? () : ('--subfolder2', $subfolder2)),
 	($maxage eq "0" ? () : ('--maxage', $maxage)),