*/
#include <h/mh.h>
-
-#ifdef MHRC
-# include <pwd.h>
-#endif
+#include <stdio.h>
+#include <pwd.h>
#define nmhbindir(file) NMHBINDIR#file
#define nmhetcdir(file) NMHETCDIR#file
{
static char epath[PATH_MAX];
char *cp;
-#ifdef MHRC
char *pp;
struct passwd *pw;
-#endif
-#ifdef MHRC
context_read();
-#endif
switch (*file) {
case '/':
/* If already absolute pathname, return it */
return file;
-#ifdef MHRC
case '~':
/* Expand ~username */
if ((cp = strchr(pp = file + 1, '/')))
if (access (epath, R_OK) != NOTOK)
return epath; /* else fall */
try_it:
-#endif /* MHRC */
default:
/* Check nmh Mail directory */
char *catproc = "/bin/cat";
/*
- * mhl runs this program as a visual-end.
- */
-
-char *faceproc = NULL;
-
-/*
* This program is usually called directly by users, but it is
* also invoked by the post program to process an "Fcc", or by
* comp/repl/forw/dist to refile a draft message.
char *fileproc = nmhbindir (/refile);
+/*
+ * This program is used to optionally format the bodies of messages by
+ * "mhl".
+ */
+
+char *formatproc = NULL;
+
/*
* This program is called to incorporate messages into a folder.
*/
char *rcvstoreproc = nmhlibdir (/rcvstore);
/*
- * This program is called to remove a folder.
- */
-
-char *rmfproc = nmhbindir (/rmf);
-
-/*
* This program is called to remove a message by rmm or refile -nolink.
* It's usually empty, which means to rename the file to a backup name.
*/
* 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
* to messages coming in through inc.
*/
-char *msgprot = DEFAULT_MESSAGE_MODE;
+char *msgprot = "600";