X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=h%2Fmts.h;h=a0f83dc27e230976b12e3a34af512935f37dd028;hb=b14ea6073f77b4359aaf3fddd0e105989db9f306;hp=f782d6767b632c0e1d07f1eb065e9f0f05d4a9a6;hpb=5dd6771b28c257af405d7248639ed0e3bcdce38b;p=mmh diff --git a/h/mts.h b/h/mts.h index f782d67..a0f83dc 100644 --- a/h/mts.h +++ b/h/mts.h @@ -1,86 +1,24 @@ - /* - * mts.h -- definitions for the mail system - */ +** mts.h -- definitions for the mail system +*/ /* - * Local and UUCP Host Name - */ +** Local and UUCP Host Name +*/ char *LocalName(void); char *SystemName(void); -/* - * Mailboxes - */ -extern char *mmdfldir; -extern char *mmdflfil; -extern char *uucpldir; -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); -/* - * Separators - */ -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 *); - -/* - * 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 -extern int sm_mts; - -extern char *hostable; -extern char *sendmail; -#endif +** Read mts.conf file +*/ +void mts_init(char *); /* - * SMTP/POP stuff - */ -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 - */ +** Global MailDelivery File +*/ extern char *maildelivery; - -/* - * Aliasing Facility (doesn't belong here) - */ -extern int Everyone; -extern char *NoShell;