comparison support/bboards/mmdfII/bboards/mts.h @ 0:bce86c4163a3

Initial revision
author kono
date Mon, 18 Apr 2005 23:46:02 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:bce86c4163a3
1 /* mts.h - definitions for the mail system */
2
3
4 /* Local and UUCP Host Name */
5
6 char *LocalName (), *SystemName (), *UucpChan ();
7
8
9 /* Mailboxes */
10
11 extern char *mmdfldir,
12 *mmdflfil,
13 *uucpldir,
14 *uucplfil;
15
16 #define MAILDIR (mmdfldir && *mmdfldir ? mmdfldir : getenv ("HOME"))
17 #define MAILFIL (mmdflfil && *mmdflfil ? mmdflfil : getusr ())
18 #define UUCPDIR (uucpldir && *uucpldir ? uucpldir : getenv ("HOME"))
19 #define UUCPFIL (uucplfil && *uucplfil ? uucplfil : getusr ())
20
21 char *getusr (), *getfullname ();
22
23 char *getenv ();
24
25
26 /* Separators */
27
28 extern char *mmdlm1,
29 *mmdlm2;
30
31 #define isdlm1(s) (strcmp (s, mmdlm1) == 0)
32 #define isdlm2(s) (strcmp (s, mmdlm2) == 0)
33
34
35 /* Filters */
36
37 extern char *umincproc;
38
39
40 /* Locking Directory */
41
42 #define LOK_UNIX 0
43 #define LOK_BELL 1
44 #define LOK_MMDF 2
45
46 #ifndef MMDFONLY
47 extern int lockstyle;
48 #endif MMDFONLY
49 extern char *lockldir;
50
51 int lkopen (), lkclose ();
52 FILE *lkfopen ();
53 int lkfclose ();
54
55 /* */
56
57 /* MTS specific variables */
58
59 #ifdef MHMTS
60 extern char *Mailqdir;
61 extern char *TMailqdir;
62 extern int Syscpy;
63 extern char *Overseer;
64 extern char *Mailer;
65 extern char *Fromtmp;
66 extern char *Msgtmp;
67 extern char *Errtmp;
68 extern int Tmpmode;
69 extern char *Okhosts;
70 extern char *Okdests;
71 #endif MHMTS
72
73 #ifdef MMDFMTS
74 #endif MMDFMTS
75
76 #ifdef SENDMTS
77 extern char *hostable;
78 extern char *sendmail;
79 #endif SENDMTS
80
81
82 /* SMTP/POP stuff */
83
84 extern char *servers;
85 extern char *pophost;
86
87
88 /* BBoards-specific variables */
89
90 extern char *bb_domain;
91
92
93 /* POP BBoards-specific variables */
94
95 #if defined(BPOP) || defined(NNTP)
96 extern char *popbbhost;
97 #endif
98 #ifdef BPOP
99 extern char *popbbuser;
100 extern char *popbblist;
101 #endif BPOP
102
103
104 /* MailDelivery */
105
106 extern char *maildelivery;
107
108
109 /* Aliasing Facility (doesn't belong here) */
110
111 extern int Everyone;
112 extern char *NoShell;