]> diplodocus.org Git - nmh/blob - h/mts.h
Cope with sasl_decode64() returning SASL_CONTINUE as well as SASL_OK.
[nmh] / h / mts.h
1
2 /*
3 * mts.h -- definitions for the mail system
4 *
5 * $Id$
6 */
7
8 /*
9 * Local and UUCP Host Name
10 */
11 char *LocalName(void);
12 char *SystemName(void);
13
14 /*
15 * Mailboxes
16 */
17 extern char *mmdfldir;
18 extern char *mmdflfil;
19 extern char *uucpldir;
20 extern char *uucplfil;
21
22 #define MAILDIR (mmdfldir && *mmdfldir ? mmdfldir : getenv ("HOME"))
23 #define MAILFIL (mmdflfil && *mmdflfil ? mmdflfil : getusername ())
24 #define UUCPDIR (uucpldir && *uucpldir ? uucpldir : getenv ("HOME"))
25 #define UUCPFIL (uucplfil && *uucplfil ? uucplfil : getusername ())
26
27 char *getusername(void);
28 char *getfullname(void);
29
30 /*
31 * Separators
32 */
33 extern char *mmdlm1;
34 extern char *mmdlm2;
35
36 #define isdlm1(s) (strcmp (s, mmdlm1) == 0)
37 #define isdlm2(s) (strcmp (s, mmdlm2) == 0)
38
39 /*
40 * Read mts.conf file
41 */
42 void mts_init (char *);
43
44 /*
45 * MTS specific variables
46 */
47 #if defined (SMTPMTS)
48
49 /* whether to speak SMTP to localhost:25 or to /usr/sbin/sendmail */
50 #define MTS_SMTP 0
51 #define MTS_SENDMAIL 1
52 extern int sm_mts;
53
54 extern char *hostable;
55 extern char *sendmail;
56 #endif
57
58 /*
59 * SMTP/POP stuff
60 */
61 extern char *clientname;
62 extern char *servers;
63 extern char *pophost;
64
65 /*
66 * BBoards-specific variables
67 */
68 extern char *bb_domain;
69
70 /*
71 * POP BBoards-specific variables
72 */
73 #ifdef BPOP
74 extern char *popbbhost;
75 extern char *popbbuser;
76 extern char *popbblist;
77 #endif /* BPOP */
78
79 /*
80 * Global MailDelivery File
81 */
82 extern char *maildelivery;
83
84 /*
85 * Aliasing Facility (doesn't belong here)
86 */
87 extern int Everyone;
88 extern char *NoShell;