From d0cf9cdda3515add54c0b1802d9fdbadc3809d26 Mon Sep 17 00:00:00 2001
From: Timo Sirainen <timo.sirainen@open-xchange.com>
Date: Thu, 9 Mar 2023 23:39:44 +0200
Subject: [PATCH] lib-sieve-tool: Remove non-working
 mail_full_filesystem_access=yes set

The settings were already read at this point, so this didn't actually do
anything. Fixing the code to actually set it would break existing tests,
so just remove it.
---
 src/lib-sieve-tool/sieve-tool.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/lib-sieve-tool/sieve-tool.c b/src/lib-sieve-tool/sieve-tool.c
index 9cab10c7e..5c60c6931 100644
--- a/src/lib-sieve-tool/sieve-tool.c
+++ b/src/lib-sieve-tool/sieve-tool.c
@@ -264,10 +264,6 @@ sieve_tool_init_finish(struct sieve_tool *tool, bool init_mailstore,
 		&tool->mail_user_dovecot, &errstr) <= 0)
 		i_fatal("%s", errstr);
 
-	if (master_service_set(master_service,
-			       "mail_full_filesystem_access=yes") < 0)
-		i_unreached();
-
 	memset((void *)&svenv, 0, sizeof(svenv));
 	svenv.username = username;
 	(void)mail_user_get_home(tool->mail_user_dovecot, &svenv.home_dir);
-- 
GitLab