X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/b14a242ba7e1d22e67b2151b4a4aff095f554050..c347c3bb:/h/mts.h?ds=sidebyside diff --git a/h/mts.h b/h/mts.h index c1c34571..afa95a4c 100644 --- a/h/mts.h +++ b/h/mts.h @@ -1,6 +1,4 @@ - -/* - * mts.h -- definitions for the mail system +/* mts.h -- definitions for the mail system */ /* @@ -16,6 +14,7 @@ extern char *mmdfldir; extern char *mmdflfil; extern char *uucpldir; extern char *uucplfil; +extern char *spoollocking; #define MAILDIR (mmdfldir && *mmdfldir ? mmdfldir : getenv ("HOME")) #define MAILFIL (mmdflfil && *mmdflfil ? mmdflfil : getusername ()) @@ -30,22 +29,21 @@ char *getlocalmbox(void); extern char *mmdlm1; extern char *mmdlm2; -#define isdlm1(s) (strcmp (s, mmdlm1) == 0) -#define isdlm2(s) (strcmp (s, mmdlm2) == 0) - /* * Read mts.conf file */ -void mts_init (char *); +void mts_init (void); /* * MTS specific variables */ -/* 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 *sendmail; @@ -60,9 +58,3 @@ extern char *pophost; * Global MailDelivery File */ extern char *maildelivery; - -/* - * Aliasing Facility (doesn't belong here) - */ -extern int Everyone; -extern char *NoShell;