Removed --with-smtpservers configure option and thelike
[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(void);
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
28 /*
29  * Separators
30  */
31 extern char *mmdlm1;
32 extern char *mmdlm2;
33
34 #define isdlm1(s) (strcmp (s, mmdlm1) == 0)
35 #define isdlm2(s) (strcmp (s, mmdlm2) == 0)
36
37 /*
38  * Read mts.conf file
39  */
40 void mts_init (char *);
41
42 /*
43  * MTS specific variables
44  */
45 #if defined (SMTPMTS)
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 #endif
54
55 /*
56  * SMTP stuff
57  */
58 extern char *clientname;
59
60 /*
61  * Global MailDelivery File
62  */
63 extern char *maildelivery;
64
65 /*
66  * Aliasing Facility (doesn't belong here)
67  */
68 extern int Everyone;
69 extern char *NoShell;