print '#include "uri-util.h"'."\n";
print '#include "hash-method.h"'."\n";
print '#include "settings.h"'."\n";
+print '#include "master-interface.h"'."\n";
print '#include "message-header-parser.h"'."\n";
print '#include "imap-urlauth-worker-common.h"'."\n";
print '#include "mailbox-list.h"'."\n";
+print '#include "doc.h"'."\n";
print '#include "all-settings.h"'."\n";
print '#include <unistd.h>'."\n";
print '#define CONFIG_BINARY'."\n";
#include "mail-namespace.h"
#include "mail-storage-private.h"
#include "mail-storage-settings.h"
+#include "master-interface.h"
#include "iostream-ssl.h"
+#include "doc.h"
static bool mail_storage_settings_apply(struct event *event, void *_set, const char *key, const char **value, enum setting_apply_flags, const char **error_r);
static bool mail_storage_settings_ext_check(struct event *event, void *_set, pool_t pool, const char **error_r);
}
static bool
-mail_storage_settings_ext_check(struct event *event ATTR_UNUSED,
- void *_set, pool_t pool, const char **error_r)
+mail_storage_settings_ext_check(struct event *event, void *_set, pool_t pool,
+ const char **error_r)
{
struct mail_storage_settings *set = _set;
struct hash_format *format;
set->mail_path, set->mail_inbox_path);
}
}
+
+ if (getenv(MASTER_IS_PARENT_ENV) != NULL &&
+ set->mailbox_directory_name_legacy) {
+ e_warning(event,
+ "mailbox_directory_name_legacy=yes has been deprecated and will eventually be removed. See "
+ DOC_LINK("core/config/mailbox_formats/dbox.html#migrating-away-from-mailbox-directory-name-legacy")
+ " for an upgrade guide.");
+ }
return TRUE;
}