X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/89b640fbfe885673d18b9232f2b8a60ce173a897..94187a80bd60baab4b9c4b949ad820d730578123:/h/mts.h diff --git a/h/mts.h b/h/mts.h index d1a93f80..d0fa4f05 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,11 +14,10 @@ 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 ()) -#define UUCPDIR (uucpldir && *uucpldir ? uucpldir : getenv ("HOME")) -#define UUCPFIL (uucplfil && *uucplfil ? uucplfil : getusername ()) char *getusername(void); char *getfullname(void); @@ -29,25 +26,23 @@ char *getlocalmbox(void); /* * Separators */ -extern char *mmdlm1; -extern char *mmdlm2; - -#define isdlm1(s) (strcmp (s, mmdlm1) == 0) -#define isdlm2(s) (strcmp (s, mmdlm2) == 0) +#define MMDF_DELIM "\001\001\001\001\n" /* * 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; @@ -62,9 +57,3 @@ extern char *pophost; * Global MailDelivery File */ extern char *maildelivery; - -/* - * Aliasing Facility (doesn't belong here) - */ -extern int Everyone; -extern char *NoShell;