This another step in getting rid of the mts stuff.
default_editor = @editorpath@
default_pager = @pagerpath@
+sendmailpath = @sendmailpath@
CC = @CC@
CFLAGS = @CFLAGS@
DEFS = @DEFS@
INCLUDES = -I.. -I$(top_srcdir) @CPPFLAGS@
CONFIGDEFS = -DNMHBINDIR='"$(bindir)"' -DNMHETCDIR='"$(etcdir)"' -DNMHLIBDIR='"$(libdir)"' \
- -DDEFAULT_EDITOR='"$(default_editor)"' -DDEFAULT_PAGER='"$(default_pager)"'
+ -DDEFAULT_EDITOR='"$(default_editor)"' -DDEFAULT_PAGER='"$(default_pager)"' \
+ -DSENDMAILPATH='"$(sendmailpath)"'
COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS)
COMPILE2 = $(CC) -c $(DEFS) $(CONFIGDEFS) $(INCLUDES) $(CFLAGS)
char *whomproc = nmhbindir (/whom);
+/*
+ * This is the sendmail interface to use for sending mail.
+ */
+
+char *sendmail = SENDMAILPATH;
+
/*
* This is the editor invoked by the various message
* composition programs. It SHOULD be a full screen
extern char *replgroupcomps;
extern char *rmfproc;
extern char *rmmproc;
+extern char *sendmail;
extern char *sendproc;
extern char *showmimeproc;
extern char *showproc;
void mts_init (char *);
/*
- * MTS specific variables
- */
-extern char *sendmail;
-
-/*
* Global MailDelivery File
*/
extern char *maildelivery;
Currently not used.
.RE
.PP
+.BR sendmail :
+%sendmailpath%
+.RS 5
+The path name to the
+.B sendmail
+program.
+.RE
+.PP
.BR sendproc :
%bindir%/send
.RS 5
login shell equivalent to the given value (e.g., \*(lq/bin/csh\*(rq)
indicates that mail for \*(lqeveryone\*(rq should not be sent to them.
This is useful for handling admin, dummy, and guest logins.
-.SS "SendMail"
-.BR sendmail :
-%sendmailpath%
-.RS 5
-The pathname to the
-.B sendmail
-program.
.SS "File Locking"
A few words on locking:
.B nmh
static char* masquerade = "";
/*
- * MTS specific variables
- */
-char *sendmail = SENDMAILPATH;
-
-/*
* Global MailDelivery file
*/
char *maildelivery = nmhetcdir(/maildelivery);
{ "mmdelim1", &mmdlm1 },
{ "mmdelim2", &mmdlm2 },
{ "masquerade", &masquerade },
- { "sendmail", &sendmail },
{ "maildelivery", &maildelivery },
{ "everyone", &everyone },
{ "noshell", &NoShell },
{ "postproc", &postproc },
{ "rmfproc", &rmfproc },
{ "rmmproc", &rmmproc },
+ { "sendmail", &sendmail },
{ "sendproc", &sendproc },
{ "showmimeproc", &showmimeproc },
{ "showproc", &showproc },
{ "postproc", &postproc },
{ "rmfproc", &rmfproc },
{ "rmmproc", &rmmproc },
+ { "sendmail", &sendmail },
{ "sendproc", &sendproc },
{ "showmimeproc", &showmimeproc },
{ "showproc", &showproc },