[Dovecot] Fix imapsync

master
André Peters 2018-02-27 15:12:21 +01:00
parent 2b786c13de
commit 6a01411460
2 changed files with 5 additions and 6 deletions

View File

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

View File

@ -165,7 +165,7 @@ services:
- sogo - sogo
dovecot-mailcow: dovecot-mailcow:
image: mailcow/dovecot:1.22 image: mailcow/dovecot:1.23
build: ./data/Dockerfiles/dovecot build: ./data/Dockerfiles/dovecot
cap_add: cap_add:
- NET_BIND_SERVICE - NET_BIND_SERVICE