]> diplodocus.org Git - nmh/blob - acconfig.h
64a9da0cc29fee14ce8085a7165dcf2d2eceeacc
[nmh] / acconfig.h
1
2 /****** BEGIN USER CONFIGURATION SECTION *****/
3
4 /*
5 * IMPORTANT: UNCOMMENT THE DEFINES FOR YOUR OPERATING SYSTEM
6 *
7 * These are slowly being phased out, but currently
8 * not everyone is auto-configured. Then decide if you
9 * wish to change the features that are compiled into nmh.
10 */
11
12 /*
13 * Solaris 2.x
14 * Irix
15 * OSF/1
16 * HP-UX
17 * AIX
18 */
19 /* #define SYS5 1 */
20 /* #define SVR4 1 */
21
22 /*
23 * SunOS 4.1.x
24 */
25 /* #define BIND 1 */
26 /* #define BSD42 1 */
27
28 /*
29 * Linux
30 */
31 /* #define LINUX_STDIO 1 */
32
33 /*
34 * FreeBSD 2.x
35 * NetBSD 1.x,
36 * OpenBSD 2.x
37 * BSD/OS 2.x
38 */
39 /* #define BIND 1 */
40 /* #define BSD42 1 */
41 /* #define BSD44 1 */
42
43 /*
44 * SCO 4.x
45 * SCO 5.x
46 *
47 * I believe the second `define' is only necessary
48 * for SCO 5.x, not SCO 4.x
49 */
50 /* #define SYS5 1 */
51 /* #define SCO_5_STDIO 1 */
52
53 /*
54 * Define to 1 if you need to make `inc' set-group-id
55 * because your mail spool is not world writable. This
56 * will add some extra security checks, although I can't
57 * guarantee it is safe. Also, you will need to change the
58 * group and add the setgid bit to `inc' manually after
59 * installation.
60 */
61 /* #define MAILGROUP 1 */
62
63 /*
64 * Turn on locale (setlocale) support
65 */
66 #define LOCALE 1
67
68 /*
69 * Define to 1 the type of file locking to use. You need to
70 * make sure the type of locking you use is compatible with
71 * other programs which may modify your maildrops.
72 * Currently you can only use one type.
73 */
74 #define DOT_LOCKING 1
75 /* #define FCNTL_LOCKING 1 */
76 /* #define LOCKF_LOCKING 1 */
77 /* #define FLOCK_LOCKING 1 */
78
79 /*
80 * If you have defined DOT_LOCKING, then the default is to
81 * place the lock files in the same directory as the file that
82 * is to be locked. Alternately, if you define LOCKDIR, you
83 * can specify that all lock files go in a specific directory.
84 * Don't define this unless you know you need it.
85 */
86 /* #define LOCKDIR "/usr/spool/locks" */
87
88 /*
89 * Define this if your passwords are stored in some type of
90 * distributed name service, such as NIS, or NIS+.
91 */
92 #define DBMPWD 1
93
94 /*
95 * Directs nmh not to try and rewrite addresses
96 * to their official form. You probably don't
97 * want to change this without good reason.
98 */
99 #define DUMB 1
100
101 /*
102 * Define this if you do not want nmh to attach the local hostname
103 * to local addresses. You must also define DUMB. You probably
104 * dont' need this unless you are behind a firewall.
105 */
106 /* #define REALLYDUMB 1 */
107
108 /*
109 * Directs inc/slocal to extract the envelope sender from "From "
110 * line. If inc/slocal is saving message to folder, then this
111 * sender information is then used to create a Return-Path
112 * header which is then added to the message.
113 */
114 #define RPATHS 1
115
116 /*
117 * If defined, slocal will use `mbox' format when saving to
118 * your standard mail spool. If not defined, it will use
119 * mmdf format.
120 */
121 #define SLOCAL_MBOX 1
122
123 /*
124 * If this is defined, nmh will recognize the ~ construct.
125 */
126 #define MHRC 1
127
128 /*
129 * Compile simple ftp client into mhn. This will be used by mhn
130 * for ftp access unless you have specified another access method
131 * in your .mh_profile or mhn.defaults. Use the "mhn-access-ftp"
132 * profile entry to override this. Check mhn(1) man page for
133 * details.
134 */
135 #define BUILTIN_FTP 1
136
137 /*
138 * If you enable POP support, this is the the port name
139 * that nmh will use. Make sure this is defined in your
140 * /etc/services file (or its NIS/NIS+ equivalent). If you
141 * are using KPOP, you will probably need to change this
142 * to "kpop".
143 */
144 #define POPSERVICE "pop3"
145
146 /*
147 * Define the default creation modes for folders and messages.
148 */
149 #define DEFAULT_FOLDER_MODE "0700"
150 #define DEFAULT_MESSAGE_MODE "0600"
151
152 /*
153 * The prefix which is prepended to the name of messages when they
154 * are "removed" by rmm. This should typically be `,' or `#'
155 */
156 #define BACKUP_PREFIX ","
157
158 /*
159 * Name of link to file to which you are replying.
160 */
161 #define LINK "@"
162
163 /*
164 * If wait/waitpid returns an int (no union wait).
165 */
166 #define WAITINT 1
167
168 /***** END USER CONFIGURATION SECTION *****/
169 @TOP@
170
171 /*
172 * Define this if you want SMTP (simple mail transport protocol)
173 * support. When sending mail, instead of passing the message to
174 * the mail transport agent (typically sendmail), nmh will open a
175 * socket connection to the mail port on the machine specified in
176 * the `mts.conf' file (default is localhost), and speak SMTP directly.
177 */
178 #undef SMTPMTS
179
180 /*
181 * Use sendmail as transport agent. Post messages by piping
182 * them directly to sendmail.
183 */
184 #undef SENDMTS
185
186 /*
187 * Define this to compile client-side support for pop into
188 * inc and msgchk. Do not change this value manually. You
189 * must run configure with the '--enable-nmh-pop' option
190 * to correctly build the pop client support.
191 */
192 #undef POP
193
194 /*
195 * Define this to compile client-side support for kpop
196 * (kerberized pop) into inc and msgchk. Do not change this
197 * value manually. You must run configure with the option
198 * '--with-krb4=PREFIX' to correctly build the kpop client support.
199 */
200 #undef KPOP
201
202 /*
203 * Define this to "pop" when using Kerberos V4
204 */
205 #undef KPOP_PRINCIPAL
206
207 /*
208 * Define this to compile support for using Hesiod to locate
209 * pop servers into inc and msgchk. Do not change this value
210 * manually. You must run configure with the option
211 * '--with-hesiod=PREFIX' to correctly build Hesiod support.
212 */
213 #undef HESIOD
214
215 /*
216 * Compile in support for the Emacs front-end mh-e.
217 */
218 #undef MHE
219
220 /* Define to 1 if your termcap library has the ospeed variable */
221 #undef HAVE_OSPEED
222 /* Define to 1 if you have ospeed, but it is not defined in termcap.h */
223 #undef MUST_DEFINE_OSPEED
224
225 /* Define to 1 if tgetent() accepts NULL as a buffer */
226 #undef TGETENT_ACCEPTS_NULL
227
228 /* Define to 1 if you have reliable signals */
229 #undef RELIABLE_SIGNALS
230
231 /* Define to 1 if you use POSIX style signal handling */
232 #undef POSIX_SIGNALS
233
234 /* Define to 1 if you use BSD style signal handling (and can block signals) */
235 #undef BSD_SIGNALS
236
237 /* Define to 1 if you use SYS style signal handling (and can block signals) */
238 #undef SYSV_SIGNALS
239
240 /* Define to 1 if you have no signal blocking at all (bummer) */
241 #undef NO_SIGNAL_BLOCKING
242
243 /* Define to `unsigned int' if <sys/types.h> or <signal.h> doesn't define */
244 #undef sigset_t
245
246 /*
247 * Define to 1 if your vi has ATT bug, such that it returns
248 * non-zero exit codes on `pseudo-errors'.
249 */
250 #undef ATTVIBUG
251
252 /* Define ruserpass as _ruserpass if your libraries have a bug *
253 * such that it can't find ruserpass, but can find _ruserpass. */
254 #undef ruserpass
255
256 /* Define if your system defines TIOCGWINSZ in sys/ioctl.h. */
257 #undef GWINSZ_IN_SYS_IOCTL
258
259 /* Define if your system defines `struct winsize' in sys/ptem.h. */
260 #undef WINSIZE_IN_PTEM
261
262 /* Define to 1 if struct tm has gmtoff */
263 #undef HAVE_TM_GMTOFF
264
265 /* Define if your system has sigsetjmp */
266 #undef HAVE_SIGSETJMP