X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/4f9a626afed661270364f0f7982fc3767f688e05..96c3d2a022acb59cc2559cd49488da476ee8a3b1:/h/mts.h?ds=sidebyside diff --git a/h/mts.h b/h/mts.h index 2888c57b..1b8f71b5 100644 --- a/h/mts.h +++ b/h/mts.h @@ -19,8 +19,6 @@ extern char *uucplfil; #define MAILDIR (mmdfldir && *mmdfldir ? mmdfldir : getenv ("HOME")) #define MAILFIL (mmdflfil && *mmdflfil ? mmdflfil : getusername ()) -#define UUCPDIR (uucpldir && *uucpldir ? uucpldir : getenv ("HOME")) -#define UUCPFIL (uucplfil && *uucplfil ? uucplfil : getusername ()) char *getusername(void); char *getfullname(void); @@ -43,16 +41,15 @@ void mts_init (char *); /* * MTS specific variables */ -#if defined (SMTPMTS) -/* whether to speak SMTP to localhost:25 or to /usr/sbin/sendmail */ -#define MTS_SMTP 0 -#define MTS_SENDMAIL 1 +/* whether to speak SMTP, and over the network or directly to sendmail */ +#define MTS_SMTP 0 +#define MTS_SENDMAIL_SMTP 1 +#define MTS_SENDMAIL_PIPE 2 extern int sm_mts; +void save_mts_method (const char *); -extern char *hostable; extern char *sendmail; -#endif /* * SMTP/POP stuff