Removed hostable relics from h/mts.h and sbr/mts.c.
[mmh] / h / mts.h
1
2 /*
3  * mts.h -- definitions for the mail system
4  */
5
6 /*
7  * Local and UUCP Host Name
8  */
9 char *LocalName(int);
10 char *SystemName(void);
11
12 /*
13  * Mailboxes
14  */
15 extern char *mmdfldir;
16 extern char *mmdflfil;
17 extern char *uucpldir;
18 extern char *uucplfil;
19
20 #define MAILDIR (mmdfldir && *mmdfldir ? mmdfldir : getenv ("HOME"))
21 #define MAILFIL (mmdflfil && *mmdflfil ? mmdflfil : getusername ())
22 #define UUCPDIR (uucpldir && *uucpldir ? uucpldir : getenv ("HOME"))
23 #define UUCPFIL (uucplfil && *uucplfil ? uucplfil : getusername ())
24
25 char *getusername(void);
26 char *getfullname(void);
27 char *getlocalmbox(void);
28
29 /*
30  * Separators
31  */
32 extern char *mmdlm1;
33 extern char *mmdlm2;
34
35 #define isdlm1(s) (strcmp (s, mmdlm1) == 0)
36 #define isdlm2(s) (strcmp (s, mmdlm2) == 0)
37
38 /*
39  * Read mts.conf file
40  */
41 void mts_init (char *);
42
43 /*
44  * MTS specific variables
45  */
46
47 /* whether to speak SMTP to localhost:25 or to /usr/sbin/sendmail */
48 #define MTS_SMTP     0
49 #define MTS_SENDMAIL 1
50 extern int sm_mts;
51
52 extern char *sendmail;
53
54 /*
55  * SMTP/POP stuff
56  */
57 extern char *clientname;
58 extern char *servers;
59 extern char *pophost;
60
61 /*
62  * Global MailDelivery File
63  */
64 extern char *maildelivery;
65
66 /*
67  * Aliasing Facility (doesn't belong here)
68  */
69 extern int Everyone;
70 extern char *NoShell;