diff --git a/src/managesieve/main.c b/src/managesieve/main.c
index 2a4ca47b20cb70f647295ee0e72c5c0e4c38e8c4..c60be623ca4f56c04769316ad2c021f7448c36e8 100644
--- a/src/managesieve/main.c
+++ b/src/managesieve/main.c
@@ -237,7 +237,7 @@ int main(int argc, char *argv[])
 		return 1;
 	}
 
-	if (IS_STANDALONE()) {
+	if (IS_STANDALONE() || getenv("DUMP_CAPABILITY") != NULL) {
 		service_flags |= MASTER_SERVICE_FLAG_STANDALONE |
 			MASTER_SERVICE_FLAG_STD_CLIENT;
 	} else {