.libexec_dir = PKG_LIBEXECDIR,
.mail_plugins = ARRAY_INIT,
.mail_plugin_dir = MODULEDIR,
+#ifdef DOVECOT_PRO_EDITION
+ .mail_temp_dir = "/dev/shm/dovecot",
+#else
.mail_temp_dir = "/tmp",
+#endif
.auth_debug = FALSE,
.auth_socket_path = "auth-userdb",
.doveadm_socket_path = "doveadm-server",
static const struct mail_user_settings mail_user_default_settings = {
.base_dir = PKG_RUNDIR,
.auth_socket_path = "auth-userdb",
+#ifdef DOVECOT_PRO_EDITION
+ .mail_temp_dir = "/dev/shm/dovecot",
+#else
.mail_temp_dir = "/tmp",
+#endif
.mail_debug = FALSE,
#ifdef DOVECOT_PRO_EDITION