[Dovecot] Fix imapsync
parent
2b786c13de
commit
6a01411460
|
@ -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')),
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue