From 84ba784550eb074a6febbd3ab1c4553210d61095 Mon Sep 17 00:00:00 2001 From: andryyy Date: Thu, 11 Mar 2021 19:21:50 +0100 Subject: [PATCH] [Dovecot] Set --addheader by default, fixes #4025 --- data/Dockerfiles/dovecot/imapsync_cron.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/data/Dockerfiles/dovecot/imapsync_cron.pl b/data/Dockerfiles/dovecot/imapsync_cron.pl index 746b1d47..0561b5ff 100644 --- a/data/Dockerfiles/dovecot/imapsync_cron.pl +++ b/data/Dockerfiles/dovecot/imapsync_cron.pl @@ -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)),