X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=h%2Fmts.h;h=5ddd837ec78fca9f1bc58fd7cee407493817c97c;hb=d39e2c447b0d163a5a63f480b23d06edb7a73aa0;hp=2d2aa958abffc1af303d8845e735a1cbe2598001;hpb=c05210483d82bf5f3786725ff80e12444088a701;p=mmh diff --git a/h/mts.h b/h/mts.h index 2d2aa95..5ddd837 100644 --- a/h/mts.h +++ b/h/mts.h @@ -1,72 +1,50 @@ - /* - * 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 - */ +** 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 ()) +#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 - */ +** 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 +#define isdlm1(s) (strcmp(s, mmdlm1) == 0) +#define isdlm2(s) (strcmp(s, mmdlm2) == 0) /* - * SMTP/POP stuff - */ -extern char *clientname; -extern char *servers; -extern char *pophost; +** Read mts.conf file +*/ +void mts_init(char *); /* - * Global MailDelivery File - */ +** Global MailDelivery File +*/ extern char *maildelivery; /* - * Aliasing Facility (doesn't belong here) - */ +** Aliasing Facility (doesn't belong here) +*/ extern int Everyone; extern char *NoShell;