diff src/pop3/main.c @ 21816:869db4bcecdb

lib-storage: Replace MAIL_STORAGE_SERVICE_FLAG_AUTOEXPUNGE with explicit mail_user_autoexpunge() This allows better control of which users are being autoexpunged. This patch changes behavior at least in two ways now: 1) After shared folder access, the owner user isn't autoexpunged at deinit. Although this is a bit questionable of whether it should be or not. 2) LMTP's quota check at RCPT TO stage doesn't trigger autoexpunging.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Thu, 23 Mar 2017 14:15:49 +0200
parents 574ad44a7c80
children 415130854a53
line wrap: on
line diff
--- a/src/pop3/main.c	Thu Mar 23 14:08:53 2017 +0200
+++ b/src/pop3/main.c	Thu Mar 23 14:15:49 2017 +0200
@@ -215,8 +215,7 @@
 	};
 	struct master_login_settings login_set;
 	enum master_service_flags service_flags = 0;
-	enum mail_storage_service_flags storage_service_flags =
-		MAIL_STORAGE_SERVICE_FLAG_AUTOEXPUNGE;
+	enum mail_storage_service_flags storage_service_flags = 0;
 	const char *username = NULL, *auth_socket_path = "auth-master";
 	int c;