X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/f931795fd8973c1edb40a26ecf87dbe27f7a6148..6db45651:/h/mts.h?ds=inline diff --git a/h/mts.h b/h/mts.h index a8d795f7..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,42 +14,37 @@ 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); +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 */ -#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 @@ -64,9 +57,3 @@ extern char *pophost; * Global MailDelivery File */ extern char *maildelivery; - -/* - * Aliasing Facility (doesn't belong here) - */ -extern int Everyone; -extern char *NoShell;