]> diplodocus.org Git - nmh/blob - h/mts.h
Escape literal leading full stop in man/new.man.
[nmh] / 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 extern char *spoollocking;
20
21 #define MAILDIR (mmdfldir && *mmdfldir ? mmdfldir : getenv ("HOME"))
22 #define MAILFIL (mmdflfil && *mmdflfil ? mmdflfil : getusername ())
23
24 char *getusername(void);
25 char *getfullname(void);
26 char *getlocalmbox(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 (void);
41
42 /*
43 * MTS specific variables
44 */
45
46 /* whether to speak SMTP, and over the network or directly to sendmail */
47 #define MTS_SMTP 0
48 #define MTS_SENDMAIL_SMTP 1
49 #define MTS_SENDMAIL_PIPE 2
50 extern int sm_mts;
51 void save_mts_method (const char *);
52
53 extern char *sendmail;
54
55 /*
56 * SMTP/POP stuff
57 */
58 extern char *clientname;
59 extern char *servers;
60 extern char *pophost;
61
62 /*
63 * Global MailDelivery File
64 */
65 extern char *maildelivery;