* uip/sendsbr.c: replaced st_mtim with st_mtime, that's what
[mmh] / acconfig.h
1
2 /****** BEGIN USER CONFIGURATION SECTION *****/
3
4 /*
5  * IMPORTANT: You should no longer need to edit this file to handle
6  * your operating system. That should be handled and set correctly by
7  * configure now.
8  *
9  * These are slowly being phased out, but currently
10  * not everyone is auto-configured.  Then decide if you
11  * wish to change the features that are compiled into nmh.
12  */
13
14 /*
15  * Turn on locale (setlocale) support
16  */
17 #define LOCALE  1
18
19 /*
20  * Define to 1 the type of file locking to use.  You need to
21  * make sure the type of locking you use is compatible with
22  * other programs which may modify your maildrops.
23  * Currently you can only use one type.
24  */
25 #undef DOT_LOCKING
26 #undef FCNTL_LOCKING
27 #undef LOCKF_LOCKING
28 #undef FLOCK_LOCKING
29
30 /*
31  * If you have defined DOT_LOCKING, then the default is to
32  * place the lock files in the same directory as the file that
33  * is to be locked.  Alternately, if you define LOCKDIR, you
34  * can specify that all lock files go in a specific directory.
35  * Don't define this unless you know you need it.
36  */
37 /* #define LOCKDIR "/usr/spool/locks" */
38
39 /*
40  * Define this if your passwords are stored in some type of
41  * distributed name service, such as NIS, or NIS+.
42  */
43 #define DBMPWD  1
44
45 /*
46  * Directs nmh not to try and rewrite addresses
47  * to their official form.  You probably don't
48  * want to change this without good reason.
49  */
50 #define DUMB    1
51
52 /*
53  * Define this if you do not want nmh to attach the local hostname
54  * to local addresses.  You must also define DUMB.  You probably
55  * don't need this unless you are behind a firewall.
56  */
57 /* #define REALLYDUMB  1 */
58
59 /*
60  * Starting on January 1, 2000, some MUAs like ELM and Ultrix's DXmail started
61  * generated bad dates ("00" or "100" for the year).  If this #define is active,
62  * we use windowing to correct those dates to what we presume to be the intended
63  * values.  About the only time this could get us into trouble would be if a MUA
64  * was generating a year of "00" in 2001 or later, due to an unrelated bug.  In
65  * this case we would "correct" the year to 2000, which could result in
66  * inaccurate bug reports against the offending MUA.  A much more esoteric case
67  * in which you might not want to #define this would be if you were OCR'ing in
68  * old written correspondence and saving it in email format, and you had dates
69  * of 1899 or earlier.
70  */
71 #define FIX_NON_Y2K_COMPLIANT_MUA_DATES 1
72
73 /*
74  * Directs inc/slocal to extract the envelope sender from "From "
75  * line.  If inc/slocal is saving message to folder, then this
76  * sender information is then used to create a Return-Path
77  * header which is then added to the message.
78  */
79 #define RPATHS  1
80
81 /*
82  * If defined, slocal will use `mbox' format when saving to
83  * your standard mail spool.  If not defined, it will use
84  * mmdf format.
85  */
86 #define SLOCAL_MBOX  1
87
88 /*
89  * If this is defined, nmh will recognize the ~ construct.
90  */
91 #define MHRC    1
92
93 /*
94  * Compile simple ftp client into mhn.  This will be used by mhn
95  * for ftp access unless you have specified another access method
96  * in your .mh_profile or mhn.defaults.  Use the "mhn-access-ftp"
97  * profile entry to override this.  Check mhn(1) man page for
98  * details.
99  */
100 #define BUILTIN_FTP 1
101
102 /*
103  * If you enable POP support, this is the the port name that nmh will use.  Make
104  * sure this is defined in your /etc/services file (or its NIS/NIS+ equivalent).
105  * If you are using KPOP, you will need to change this to "kpop" unless you want
106  * to be able to use both POP3 _and_ Kerberized POP and plan to use inc and
107  * msgchk's -kpop switch every time in the latter case.
108  */
109 #define POPSERVICE "pop3"
110
111 /*
112  * Define the default creation modes for folders and messages.
113  */
114 #define DEFAULT_FOLDER_MODE "700"
115 #define DEFAULT_MESSAGE_MODE "600"
116
117 /*
118  * Name of link to file to which you are replying.
119  */
120 #define LINK "@"
121
122 /*
123  * If wait/waitpid returns an int (no union wait).
124  */
125 #define WAITINT 1
126
127 /* The following are autoconfigured, but you may wish to override the
128  * decisions of autoconf (and AC_CANONICAL_SYSTEM) and do your own
129  * thing. If so, you can modify the definitions. The Comments are as
130  * useful as ever. */
131
132 /* these three are only used in vmh.c, which currently is not being
133  * built anyway. -Doug */
134 /* Defined for Solaris 2.x, Irix, OSF/1, HP-UX, AIX, SCO5 */
135 #undef SYS5
136 /* Defined for Solaris 2.x, Irix, OSF/1, HP-UX, AIX */
137 #undef SVR4
138 /* Defined for SunOS 4, FreeBSD, NetBSD, OpenBSD, BSD/OS, Mac OS X/Rhapsody */
139 #undef BSD44
140
141 /* Defined for SunOS 4, FreeBSD, NetBSD, OpenBSD, BSD/OS, Mac OS X/Rhapsody 
142  * -- does PicoBSD have uname? :) */
143 #undef BSD42
144
145 /* Defined for SCO5 */
146 #undef SCO_5_STDIO
147
148 /* This tells nmh to use the Linux _IO_*_ptr defines from libio.h */ 
149 #undef LINUX_STDIO
150
151
152 /***** END USER CONFIGURATION SECTION *****/
153 @TOP@
154
155 /*
156  * The prefix which is prepended to the name of messages when they
157  * are "removed" by rmm.  This should typically be `,' or `#'
158  */
159 #define BACKUP_PREFIX ","
160
161 /*
162  * Define this if you want SMTP (simple mail transport protocol)
163  * support.  This is currently always enabled.
164  */
165 #define SMTPMTS 1
166
167 /*
168  * Define this to compile client-side support for pop into
169  * inc and msgchk.  Do not change this value manually.  You
170  * must run configure with the '--enable-pop' option to
171  * correctly build the pop client support.
172  */
173 #undef POP
174
175 /*
176  * Define this to compile client-side support for apop into
177  * inc and msgchk. Do not change this value manually. You
178  * must run configure with the '--enable-apop' option to
179  * correctly build the apop client support.
180  */
181 #undef APOP
182
183 /*
184  * Define this to compile client-side support for kpop
185  * (kerberized pop) into inc and msgchk.  Do not change this
186  * value manually.  You must run configure with the option
187  * '--with-krb4=PREFIX' to correctly build the kpop client support.
188  */
189 #undef KPOP
190
191 /*
192  * Define this to "pop" when using Kerberos V4
193  */
194 #undef KPOP_PRINCIPAL
195
196 /*
197  * Define this to use the Cyrus SASL library for authentication of
198  * POP and SMTP
199  */
200 #undef CYRUS_SASL
201
202 /*
203  * Define this to compile support for using Hesiod to locate
204  * pop servers into inc and msgchk.  Do not change this value
205  * manually.  You must run configure with the option
206  * '--with-hesiod=PREFIX' to correctly build Hesiod support.
207  */
208 #undef HESIOD
209
210 /*
211  * Compile in support for the Emacs front-end mh-e.
212  */
213 #undef MHE
214
215 /* Define to 1 if your termcap library has the ospeed variable */
216 #undef HAVE_OSPEED
217 /* Define to 1 if you have ospeed, but it is not defined in termcap.h */
218 #undef MUST_DEFINE_OSPEED
219
220 /* Define to 1 if tgetent() accepts NULL as a buffer */
221 #undef TGETENT_ACCEPTS_NULL
222
223 /* Define to 1 if you have reliable signals */
224 #undef RELIABLE_SIGNALS
225
226 /* Define to 1 if you use POSIX style signal handling */
227 #undef POSIX_SIGNALS
228  
229 /* Define to 1 if you use BSD style signal handling (and can block signals) */
230 #undef BSD_SIGNALS
231  
232 /* Define to 1 if you use SYS style signal handling (and can block signals) */
233 #undef SYSV_SIGNALS
234  
235 /* Define to 1 if you have no signal blocking at all (bummer) */
236 #undef NO_SIGNAL_BLOCKING
237
238 /* Define to `unsigned int' if <sys/types.h> or <signal.h> doesn't define */
239 #undef sigset_t
240
241 /*
242  * Define to 1 if your vi has ATT bug, such that it returns
243  * non-zero exit codes on `pseudo-errors'.
244  */
245 #undef ATTVIBUG
246
247 /*
248  * Define to 1 if you need to make `inc' set-group-id because your mail spool is
249  * not world writable.  There are no guarantees as to the safety of doing this,
250  * but this #define will add some extra security checks.
251  */
252 #undef MAILGROUP
253
254 /* Define if your system defines TIOCGWINSZ in sys/ioctl.h.  */
255 #undef GWINSZ_IN_SYS_IOCTL
256
257 /* Define if your system defines `struct winsize' in sys/ptem.h.  */
258 #undef WINSIZE_IN_PTEM
259
260 /* Define to 1 if struct tm has gmtoff */
261 #undef HAVE_TM_GMTOFF
262
263 /* Define to 1 if struct utmp has ut_type */
264 #undef HAVE_UTMP_UT_TYPE
265
266 /* Define if your system has sigsetjmp */
267 #undef HAVE_SIGSETJMP
268
269 /* Define if your system has mkstemp */
270 #undef HAVE_MKSTEMP
271
272 /* Define if your system has sethostent */
273 #undef HAVE_SETHOSTENT
274
275 /* Define if your system has gethostbyname */
276 #undef HAVE_GETHOSTBYNAME
277
278 /* Define if your system has netdb.h */
279 #undef HAVE_NETDB_H
280
281 /* Define to the header containing the declaration of initgroups() on your
282    system, if any.  AIX 4.[13], SunOS 4.1.3, and ULTRIX 4.2A have the function
283    in libc but don't have a declaration anywhere. */
284 #undef INITGROUPS_HEADER
285
286 /* Define to the header containing the ndbm API prototypes */
287 #undef NDBM_HEADER
288
289 /* Define if your system actually has a prototype for snprintf() in <stdio.h>
290    (or a file it includes) rather than just having a "stealth" definition of it
291    in libc.a the way AIX 4.1 does. */
292 #undef HAVE_SNPRINTF_PROTOTYPE