Automated #define of MAILGROUP and installation of inc as setgid mail when the
[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 #define DOT_LOCKING   1
26 /* #define FCNTL_LOCKING 1 */
27 /* #define LOCKF_LOCKING 1 */
28 /* #define FLOCK_LOCKING 1 */
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  * dont' need this unless you are behind a firewall.
56  */
57 /* #define REALLYDUMB  1 */
58
59 /*
60  * Directs inc/slocal to extract the envelope sender from "From "
61  * line.  If inc/slocal is saving message to folder, then this
62  * sender information is then used to create a Return-Path
63  * header which is then added to the message.
64  */
65 #define RPATHS  1
66
67 /*
68  * If defined, slocal will use `mbox' format when saving to
69  * your standard mail spool.  If not defined, it will use
70  * mmdf format.
71  */
72 #define SLOCAL_MBOX  1
73
74 /*
75  * If this is defined, nmh will recognize the ~ construct.
76  */
77 #define MHRC    1
78
79 /*
80  * Compile simple ftp client into mhn.  This will be used by mhn
81  * for ftp access unless you have specified another access method
82  * in your .mh_profile or mhn.defaults.  Use the "mhn-access-ftp"
83  * profile entry to override this.  Check mhn(1) man page for
84  * details.
85  */
86 #define BUILTIN_FTP 1
87
88 /*
89  * If you enable POP support, this is the the port name
90  * that nmh will use.  Make sure this is defined in your
91  * /etc/services file (or its NIS/NIS+ equivalent).  If you
92  * are using KPOP, you will probably need to change this
93  * to "kpop".
94  */
95 #define POPSERVICE "pop3"
96
97 /*
98  * Define the default creation modes for folders and messages.
99  */
100 #define DEFAULT_FOLDER_MODE "0700"
101 #define DEFAULT_MESSAGE_MODE "0600"
102
103 /*
104  * The prefix which is prepended to the name of messages when they
105  * are "removed" by rmm.  This should typically be `,' or `#'
106  */
107 #define BACKUP_PREFIX ","
108
109 /*
110  * Name of link to file to which you are replying.
111  */
112 #define LINK "@"
113
114 /*
115  * If wait/waitpid returns an int (no union wait).
116  */
117 #define WAITINT 1
118
119 /***** END USER CONFIGURATION SECTION *****/
120 @TOP@
121
122 /* Defined for Solaris 2.x, Irix, OSF/1, HP-UX, AIX, SCO5 */
123 #undef SYS5
124
125 /* Defined for Solaris 2.x, Irix, OSF/1, HP-UX, AIX */
126 #undef SVR4
127
128 /* Defined for SunOS 4, FreeBSD, NetBSD, OpenBSD, BSD/OS -- does
129  * PicoBSD have uname? :) */
130 #undef BIND
131 #undef BSD42
132
133 /* Defined for SunOS 4, FreeBSD, NetBSD, OpenBSD, BSD/OS */
134 #undef BSD44
135
136 /* Defined for SCO5 */
137 #undef SCO_5_STDIO
138
139 /* Defined for Linux */
140 #undef LINUX_STDIO
141
142
143 /*
144  * Define this if you want SMTP (simple mail transport protocol)
145  * support.  When sending mail, instead of passing the message to
146  * the mail transport agent (typically sendmail), nmh will open a
147  * socket connection to the mail port on the machine specified in
148  * the `mts.conf' file (default is localhost), and speak SMTP directly.
149  */
150 #undef SMTPMTS
151
152 /*
153  * Use sendmail as transport agent.  Post messages by piping
154  * them directly to sendmail.
155  */
156 #undef SENDMTS
157
158 /*
159  * Define this to compile client-side support for pop into
160  * inc and msgchk.  Do not change this value manually.  You
161  * must run configure with the '--enable-nmh-pop' option
162  * to correctly build the pop client support.
163  */
164 #undef POP
165
166 /*
167  * Define this to compile client-side support for kpop
168  * (kerberized pop) into inc and msgchk.  Do not change this
169  * value manually.  You must run configure with the option
170  * '--with-krb4=PREFIX' to correctly build the kpop client support.
171  */
172 #undef KPOP
173
174 /*
175  * Define this to "pop" when using Kerberos V4
176  */
177 #undef KPOP_PRINCIPAL
178
179 /*
180  * Define this to compile support for using Hesiod to locate
181  * pop servers into inc and msgchk.  Do not change this value
182  * manually.  You must run configure with the option
183  * '--with-hesiod=PREFIX' to correctly build Hesiod support.
184  */
185 #undef HESIOD
186
187 /*
188  * Compile in support for the Emacs front-end mh-e.
189  */
190 #undef MHE
191
192 /* Define to 1 if your termcap library has the ospeed variable */
193 #undef HAVE_OSPEED
194 /* Define to 1 if you have ospeed, but it is not defined in termcap.h */
195 #undef MUST_DEFINE_OSPEED
196
197 /* Define to 1 if tgetent() accepts NULL as a buffer */
198 #undef TGETENT_ACCEPTS_NULL
199
200 /* Define to 1 if you have reliable signals */
201 #undef RELIABLE_SIGNALS
202
203 /* Define to 1 if you use POSIX style signal handling */
204 #undef POSIX_SIGNALS
205  
206 /* Define to 1 if you use BSD style signal handling (and can block signals) */
207 #undef BSD_SIGNALS
208  
209 /* Define to 1 if you use SYS style signal handling (and can block signals) */
210 #undef SYSV_SIGNALS
211  
212 /* Define to 1 if you have no signal blocking at all (bummer) */
213 #undef NO_SIGNAL_BLOCKING
214
215 /* Define to `unsigned int' if <sys/types.h> or <signal.h> doesn't define */
216 #undef sigset_t
217
218 /*
219  * Define to 1 if your vi has ATT bug, such that it returns
220  * non-zero exit codes on `pseudo-errors'.
221  */
222 #undef ATTVIBUG
223
224 /*
225  * Define to 1 if you need to make `inc' set-group-id because your mail spool is
226  * not world writable.  There are no guarantees as to the safety of doing this,
227  * but this #define will add some extra security checks.
228  */
229 #undef MAILGROUP
230
231 /* Define ruserpass as _ruserpass if your libraries have a bug *
232  * such that it can't find ruserpass, but can find _ruserpass. */
233 #undef ruserpass
234
235 /* Define if your system defines TIOCGWINSZ in sys/ioctl.h.  */
236 #undef GWINSZ_IN_SYS_IOCTL
237
238 /* Define if your system defines `struct winsize' in sys/ptem.h.  */
239 #undef WINSIZE_IN_PTEM
240
241 /* Define to 1 if struct tm has gmtoff */
242 #undef HAVE_TM_GMTOFF
243
244 /* Define if your system has sigsetjmp */
245 #undef HAVE_SIGSETJMP
246
247 /* Define if your system has mkstemp */
248 #undef HAVE_MKSTEMP