* deliver mail to users. This is the interface to the MTS.
*/
-char *postproc = nmhlibdir (/post);
+char *postproc = nmhlibdir (/spost);
/*
* This is program is called by slocal to handle
fi
dnl What method of posting should post use?
-AC_ARG_WITH(mts,
- AS_HELP_STRING([--with-mts=@<:@smtp|sendmail@:>@],
- [specify the default mail transport agent/service]))
-
-if test x"$with_mts" = x"smtp"; then
- MTS="smtp"
-elif test x"$with_mts" = x"sendmail"; then
- MTS="sendmail"
-else
- MTS="smtp"
-fi
-AC_SUBST(MTS)dnl
+dnl We'll always use sendmail now. (mmh)
+MTS="sendmail"
+dnl #AC_SUBST(MTS)dnl
dnl Both the smtp and sendmail mail transport services use the smtp code
AC_DEFINE(SMTPMTS, 1,
# subdirectories
SUBDIRS = smtp
-# mail transport agent we are using (currently always smtp)
-# MTS = smtp
-# DEPRECATED: smtp/sendmail functionality handled by mts.conf
-
# ========= DEPENDENCIES FOR BUILDING AND INSTALLING ==========
all: all-recursive libmts.a
* MTS specific variables
*/
#if defined(SMTPMTS)
-static char *sm_method = "smtp";
-int sm_mts = MTS_SMTP;
+static char *sm_method = "sendmail";
+int sm_mts = MTS_SENDMAIL;
char *hostable = nmhetcdir(/hosts);
char *sendmail = SENDMAILPATH;
#endif
if (strstr(masquerade, "username_extension") != NULL)
username_extension_masquerading = TRUE;
-
-#ifdef SMTPMTS
- if (strcmp(sm_method, "smtp") == 0)
- sm_mts = MTS_SMTP;
- else if (strcmp(sm_method, "sendmail") == 0)
- sm_mts = MTS_SENDMAIL;
- else {
- advise(NULL, "unsupported \"mts\" value in mts.conf: %s", sm_method);
- sm_mts = MTS_SMTP;
- }
-#endif
}
LCMDS = flists folders next prev
# misc support binaries
-MISC = ap conflict dp fmtdump mhl post rcvdist rcvpack \
+MISC = ap conflict dp fmtdump mhl rcvdist rcvpack \
rcvstore rcvtty slocal spost viamail mhtest
# commands with 'S'pecial installation needs
mhlsbr.c mhmail.c mhmisc.c mhn.c mhoutsbr.c mhparam.c mhparse.c \
mhpath.c mhshow.c mhshowsbr.c mhstore.c mhstoresbr.c mhtest.c \
msgchk.c msh.c mshcmds.c new.c packf.c pick.c picksbr.c popsbr.c \
- post.c prompter.c rcvdist.c rcvpack.c rcvstore.c rcvtty.c \
+ prompter.c rcvdist.c rcvpack.c rcvstore.c rcvtty.c \
refile.c repl.c replsbr.c rmf.c rmm.c scan.c scansbr.c send.c \
sendsbr.c show.c slocal.c sortm.c spost.c termsbr.c viamail.c \
vmh.c vmhsbr.c vmhtest.c whatnow.c whatnowproc.c whatnowsbr.c \
pick: pick.o picksbr.o $(LOCALLIBS)
$(LINK) pick.o picksbr.o $(LINKLIBS)
-post: post.o aliasbr.o $(LOCALLIBS)
- $(LINK) post.o aliasbr.o $(LINKLIBS)
-
prompter: prompter.o $(LOCALLIBS)
$(LINK) prompter.o $(LINKLIBS)