[Dovecot] Set --addheader by default, fixes #4025

master
andryyy 2021-03-11 19:21:50 +01:00
parent 43146b23c9
commit 84ba784550
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
1 changed files with 1 additions and 0 deletions

View File

@ -127,6 +127,7 @@ while ($row = $sth->fetchrow_arrayref()) {
my $generated_cmds = [ "/usr/local/bin/imapsync",
"--tmpdir", "/tmp",
"--nofoldersizes",
"--addheader",
($timeout1 gt "0" ? () : ('--timeout1', $timeout1)),
($timeout2 gt "0" ? () : ('--timeout2', $timeout2)),
($exclude eq "" ? () : ("--exclude", $exclude)),