From 104b36e0a37bafe6620062334fa78d484dce321c Mon Sep 17 00:00:00 2001 From: markus schnalke Date: Wed, 5 Oct 2011 11:42:08 +0200 Subject: [PATCH] Moved default file/folder modes from acconfig.h to config/config.c --- acconfig.h | 6 ------ config/config.c | 4 ++-- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/acconfig.h b/acconfig.h index efd9f38..2547602 100644 --- a/acconfig.h +++ b/acconfig.h @@ -84,12 +84,6 @@ #define BUILTIN_FTP 1 /* - * Define the default creation modes for folders and messages. - */ -#define DEFAULT_FOLDER_MODE "700" -#define DEFAULT_MESSAGE_MODE "600" - -/* * Name of link to file to which you are replying. */ #define LINK "@" diff --git a/config/config.c b/config/config.c index 82e72ae..cc3bb00 100644 --- a/config/config.c +++ b/config/config.c @@ -367,7 +367,7 @@ char *AliasFile = nmhetcdir (/MailAliases); * Folders (directories) are created with this protection (mode) */ -char *foldprot = DEFAULT_FOLDER_MODE; +char *foldprot = "700"; /* * Every NEW message will be created with this protection. When a @@ -375,5 +375,5 @@ char *foldprot = DEFAULT_FOLDER_MODE; * to messages coming in through inc. */ -char *msgprot = DEFAULT_MESSAGE_MODE; +char *msgprot = "600"; -- 1.7.10.4