File: options.h

package info (click to toggle)
hypermail 2.2.0-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 5,732 kB
  • ctags: 3,176
  • sloc: ansic: 34,794; sh: 13,432; yacc: 844; makefile: 775; perl: 744; python: 292
file content (264 lines) | stat: -rw-r--r-- 7,024 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
#ifndef ACCONFIG_H
#define ACCONFIG_H 1

/*
** Configuration file for Hypermail 
**
*/

/* User-definable options are below */

/*
** Define as the default title you want to call your archives.
** Define as "NONE" to use the name of the input mailbox.
*/
#define LABEL "NONE"

/* 
** This is the default directory that new files are put into and
** that existing files are read from. If defined as "NONE", this
** will be the name of the input mailbox.
*/
#define DIR "NONE"

/*
** Define MBOX as "NONE" to read from standard input.
*/
#define MBOX "NONE"

/*
** This should be a URL of some type. Define ARCHIVES as "NONE" 
** to omit a link to other archives.
*/
#define ARCHIVES "NONE"

/*
** This should be a URL of some type. Define ABOUT as "NONE"
** to omit a link to archive information.
*/
#define ABOUT "NONE"

/* 
** Define as the configuration file to read settings from. ~ as the first
** character represents the current user's home directory. Define as
** "NONE" for no configuration file.
*/
#define CONFIGFILE "~/.hmrc"

/* 
** Define as the default main index that users see when the archive
** is first accessed. Possible values are "date", "subject", "author", and
** "thread".
*/
#define DEFAULTINDEX "thread"

/*
** Define as 0 if you want latest message on the bottom for date and
** thread indexes. Else define as 1 to put recent messages on top.
*/
#define REVERSE 0

/*
** Define as 0 if you want to hide mail headers in messages.
** Else define as 1.
*/
#define SHOWHEADERS 0

/*
** This lets you list the RFC 822 headers you want to show if you turn 
** showheaders on.  They can be listed comma or space separated.
*/
#define SHOW_HEADERS "From,Subject,Date,Message-ID"

/*
** Define as 0 if you want messages to be shown in a proportional font.
** Else define as 1.
*/
#define SHOWHTML 1

/*
** Define if you want article lines to end with the <br> tag.
** Else uncomment to have non-quoted lines word-wrap. Only takes effect
** if SHOWHTML is defined.
*/
#define SHOWBR 1

/*
** Define if you want quoted lines to be shown in italics. Only
** take effect if SHOWHTML is defined.
*/
#define IQUOTES 1

/*
** Define if you want to recognize Supercite-style lines in the form
** "  Jane> <text>" as quoted lines.  Only takes effect if IQUOTES
** is defined.
*/
#define RECOGNIZE_SUPERCITE_QUOTES 

/*
** Define if you want horizontal rules before and after messages.
*/
#define SHOWHR 1

/* 
** Define if you want to use a table format for the index menu.
*/
#define USETABLE 0
  
/* 
** Define if you want links to article replies in messages.
*/
#define SHOWREPLIES 0
  
/*
** Define if you want links to Next, Prev, Next thread, Reply to, etc.
*/
#define SHOW_MSG_LINKS 1

/*
** Define as 0 to always overwrite existing files. Define as 1 to
** only write files that are new.
*/
#define OVERWRITE 0

/* 
** Define as 1 to read in one article only and update existing archives.
** Define as 0 for normal operation.
*/
#define INCREMENT 0

/* 
** Define as 1 to show progress as Hypermail works. Define as 0 for silent
** operation.
*/
#define PROGRESS 0

/* 
** Define as the permissions mode to change any created directories to.
** This must be an octal number.
*/
#define DIRMODE 0755

/* 
** Define as the permissions mode to change any created HTML files to.
** This must be an octal number.
*/
#define FILEMODE 0644

/* 
** Define as the number of thread level indents to show in the thread
** index file. The normal value is 2.
*/
#define THRDLEVELS 2

/*
** Define to reflect how you want dates in the index files.
** Define as 1 to to use European date format "DD MM YYYY".
** Define as 0 to to use American date format "MM DD YYYY".
*/
#define EURODATE 0

/*
** This is the mail command that email links go to, for instance
** "mailto:$TO" or "/cgi-bin/mail?to=$TO".
**
** In constructing this command, you can specify variables:
**
** $TO : the email address of the person you're sending mail to.
** $ID : the ID of the message you're replying to.
** $SUBJECT: the subject you're replying to.
*/

/* #define MAILCOMMAND "NONE" */
/* #define MAILCOMMAND "/cgi-bin/mail?to=$TO&replyto=$ID&subject=$SUBJECT"  */
#define MAILCOMMAND "mailto:$TO?subject=$SUBJECT"

/*
** The address of the contact point that is put in the HTML header line 
**   <LINK REV=made HREF=mailto:MAILTO>
**
** The <LINK...> header can be disabled by default by setting MAILTO  to "NONE"
** This can be set in the list config file.
*/

/* #define MAILTO "webmaster@some.domain" */
#define MAILTO "NONE"

/*
** Domain-ize Addresses -- addresses appearing in the RFC822 field 
** which lack hostname can't be made into proper HREFs.  Because the 
** MTA resides on the same host as the list, it is often not required
** to domain-ize these addresses for delivery.  In such cases, hypermail
** will add the DOMAINADDR to the email address.
*/

/* #define DOMAINADDR "some.domain" */
#define DOMAINADDR "NONE"

/*
** Define as the path to an HTML template file that will be used as the
** header of the Index pages. Define as "NONE" to use builtin Index page 
** header by default.
*/
#define IHTMLHEADERFILE "NONE"

/*
** Define as the path to an HTML template file that will be used as the
** footer of the Index pages. Define as "NONE" to use builtin Index page 
** footer by default.
*/
#define IHTMLFOOTERFILE "NONE"

/*
** Define as the path to an HTML template file that will be used as the
** header of the Message pages. Define as "NONE" to use builtin Index page 
** header by default.
*/
#define MHTMLHEADERFILE "NONE"

/*
** Define as the path to an HTML template file that will be used as the
** footer of the Message pages. Define as "NONE" to use builtin Index page 
** footer by default.
*/
#define MHTMLFOOTERFILE "NONE"

/*
** This is the <BODY> line to use when generating the HTML pages.
** Make sure and escape embedded quotes.  Define as "NONE" to use 
** the builtin <BODY> line by default.
*/
#define BODY "<BODY BGCOLOR=\"#FFFFFF\" TEXT=\"#000000\">"

/*
** This is the email address used to send a new message to a hypermail
** archive.  "NONE" means don't use it.  Since this is different for each
** hypermail archive, you should probably leave it set to "NONE" here, 
** and let it be specified at runtime by command-line parameters in the 
** list specific configfile.
*/
#define HMAIL "NONE"

/****************************
** MIME Processing Defines **
****************************/

/*
** Define to specify which image mime types should be inlined for
** display in the message. <IMG SRC=..> used for these type instead 
** of <A HREF=...> which forces the user to click on the link.
** Normally limited to images but...
*/
#define INLINE_TYPES "image/gif image/jpeg"

/*
** This is the list of MIME attachment types that you do not want to
** do anything with. They are quietly ignored.  They can be listed 
** as comma or space separated on a single line.
*/

#define IGNORE_TYPES "text/x-vcard application/x-msdownload"

/* End of user-definable options */
#endif /* ACCONFIG_H */