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