Moved default file/folder modes from acconfig.h to config/config.c
authormarkus schnalke <meillo@marmaro.de>
Wed, 5 Oct 2011 09:42:08 +0000 (11:42 +0200)
committermarkus schnalke <meillo@marmaro.de>
Wed, 5 Oct 2011 09:42:08 +0000 (11:42 +0200)
acconfig.h
config/config.c

index efd9f38..2547602 100644 (file)
 #define BUILTIN_FTP 1
 
 /*
 #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 "@"
  * Name of link to file to which you are replying.
  */
 #define LINK "@"
index 82e72ae..cc3bb00 100644 (file)
@@ -367,7 +367,7 @@ char *AliasFile = nmhetcdir (/MailAliases);
  * Folders (directories) are created with this protection (mode)
  */
 
  * 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
 
 /*
  * 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.
  */
 
  * to messages coming in through inc.
  */
 
-char *msgprot = DEFAULT_MESSAGE_MODE;
+char *msgprot = "600";