1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-11-24 08:32:50 +02:00

Update imapsync_cron.pl

This commit is contained in:
André Peters 2018-02-27 15:00:27 +01:00 committed by GitHub
parent 1dcfb15a46
commit 55cd58f14c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,16 +76,15 @@ while ($row = $sth->fetchrow_arrayref()) {
"--subscribeall",
"--nofoldersizes",
"--skipsize",
"--buffersize 8192000",
"--skipheader 'X-*'",
"--split1 3000",
"--split2 3000",
"--buffersize", "8192000",
"--split1", "3000",
"--split2", "3000",
"--fastio1",
"--fastio2",
($exclude eq "" ? () : ("--exclude", $exclude)),
($subfolder2 eq "" ? () : ('--subfolder2', $subfolder2)),
($maxage eq "0" ? () : ('--maxage', $maxage)),
($maxbytespersecond eq "0" ? () : ('--maxbytespersecond', $maxbytespersecond)),
($maxbytespersecond eq "0" ? () : ('--maxbytespersecond', $maxbytespersecond)),
($delete2duplicates ne "1" ? () : ('--delete2duplicates')),
($delete1 ne "1" ? () : ('--delete')),
($delete2 ne "1" ? () : ('--delete2')),