X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/dee387b53ab0d42922f857b60d6f980c9e79d16f..303e8387acecca26329e939f228f78ca805b7a15:/h/mts.h diff --git a/h/mts.h b/h/mts.h index ce063d98..aa5cc3d3 100644 --- a/h/mts.h +++ b/h/mts.h @@ -1,14 +1,12 @@ /* * mts.h -- definitions for the mail system - * - * $Id$ */ /* * Local and UUCP Host Name */ -char *LocalName(void); +char *LocalName(int); char *SystemName(void); /* @@ -18,14 +16,14 @@ 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 @@ -39,21 +37,20 @@ extern char *mmdlm2; /* * 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 @@ -62,27 +59,7 @@ extern char *clientname; extern char *servers; extern char *pophost; -/* - * BBoards-specific variables - */ -extern char *bb_domain; - -/* - * POP BBoards-specific variables - */ -#ifdef BPOP -extern char *popbbhost; -extern char *popbbuser; -extern char *popbblist; -#endif /* BPOP */ - /* * Global MailDelivery File */ extern char *maildelivery; - -/* - * Aliasing Facility (doesn't belong here) - */ -extern int Everyone; -extern char *NoShell;