File: lurker.conf.in

package info (click to toggle)
lurker 2.3-5
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,192 kB
  • ctags: 1,170
  • sloc: cpp: 26,761; xml: 1,354; sh: 1,012; makefile: 208; perl: 206
file content (233 lines) | stat: -rw-r--r-- 9,145 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

# Lurker configuration file (lurker.conf).
# Install as @DEFAULT_CONFIG_DIR@/@PACKAGE@.conf on your system.

#############################################################################
# Global configuration
#############################################################################

# The name lurker uses to refer to the archive.
# 
# This will be displayed at the top-right of every page.
# Clicking on it will return the user to the front page.
# Since it is up top, you should try to keep it relatively short.
# The example below is about the maximum string length you should consider.

archive = Some Mailing List Archive

# You can also localize web viewable strings.
# The most appropriate will be automatically selected when rendering.
# 
# *** THE CHARSET MUST IN ALL CASES BE UTF-8 OR IT WON'T LOAD ***
# 
# Some examples:
# archive[de] = Einige Mailing-Lists
# archive[pt] = ...
# archive[pt-BR] = ...

# The administrative contact information.
# 
# This will be displayed at the bottom-right of every page.
# Users can use this information to help you fix things on your archive.
# However, using your private address is probably a bad idea due to spam.

admin_name    = Unconfigured
admin_address = nill@bitbucket.org

# The command invoked to transform xml into html.
# 
# Lurker normally generates xml web pages from the database.
# However, this is very badly supported in even mainstream browsers.
# Thus lurker is designed to have the output xml transformed to html.
# Default XSLT style-sheets are included with lurker for this purpose.
# Lurker itself does not provide facilities to perform the XSLT transform.
# This command is fed xml via stdin and expected to produce html on stdout.

xslt = xsltproc --nonet -

# The command invoked to delete a message.
# 
# Lurker will feed a password from the UI into this command via stdin.
# The substitution %c denotes the config file of the database to affect.
# The substitution %i is the lurker message ID of the target email.
# The recommended setup is to have a 'lurker' group owning /var/lib/lurker
#  Then for the example command to work, you must set 'gpasswd lurker'.
#  On some systems this is 'passwd -g lurker', there may be other variants.
# Alternately, you can make the lurker db writable by the CGI.
#  Then use the second alternative after changing 'password'.

delete_message = sg lurker -c "@BINDIR@/lurker-search -d -f -q -i -c %c %i"
# delete_message = if test "password" = "`cat`"; then @BINDIR@/lurker-search -d -f -q -i -c %c %i; fi

# The commands lurker uses to verify signatures.
# 
# Lurker can optionally invoke a command to verify pgp signatures.
# gpg can be used for this purpose although >= 1.2 is needed.
# Personally I just keep a keyring of only keys which I trust.
# Then gpg has no need to check trust or consult keyservers -> faster.
# 
# The output of these commands is displayed in the signature block.
# The output must be encoded with a charset of UTF-8.
# The return status must be: 0 = ok, 1 = bad sig, other = unknown
# The photo id (if any) should be output to provided photo filename.
# The substitutions %s, %b, and %p are the signature, body, and photo.
# 
# pgp_verify_mime   = gpg 
# 	--keyring /usr/share/keyrings/debian-keyring.gpg
# 	--no-default-keyring
# 	--homedir /tmp
# 	--always-trust
# 	--no-secmem-warning
# 	--batch
# 	--quiet
# 	--photo-viewer "cat %i >%p"
# 	--verify-options show-photos
# 	--charset utf-8
# 	--verify %s %b 2>&1
# pgp_verify_inline = gpg
# 	--keyring /usr/share/keyrings/debian-keyring.gpg
# 	--no-default-keyring
# 	--homedir /tmp
# 	--always-trust
# 	--no-secmem-warning
# 	--batch
# 	--quiet
# 	--photo-viewer "cat %i >%p"
# 	--verify-options show-photos
# 	--charset utf-8
# 	--verify %b 2>&1

# The directory where lurker keeps the database.
# 
# This database directory should be writable by lurker-index.
# It should be readable by lurker.cgi and lurker-prune.
# Do not mess with the files in this directory on pain of death.
# Before taking a backup, make sure your MTA has a frozen mail queue.
# The path is taken relative to the location of the config file.

dbdir = @LOCALSTATEDIR@/lib/@PACKAGE@

# The umask to use when creating files in the database.
# 
# If this is unset, the umask from the environment of the user is used.
# You would want to set this to make sure that permissions stay correct.
# If you want a group writable db, use 002 and a setgid dbdir (rwxrwsr-x).
# If you want a user only db, use 022 and a dbdir with rwxr-xr-x.
# 
# db_umask = 002

# Include another file for additional configuration.
# 
# If you have a large number of mailing lists it may help to group them.
# One strategy to keep organised is to have one config file per group.
# This also allows collaboratively maintained archives (different owners).
# If a directory is specified, then all files ending in '.conf' are included.
# The path is interpretted relative to the path of the including config file.
# 
# include = another.conf
# include = /etc/lurker/conf.d

# Tell lurker to generate web cache.
# 
# Normally, lurker writes request output to the www directory for caching.
# Then repeated requests only need to be uploaded and not recomputed.
# This additionally allows things like HEAD requests to check for changes.
# However, the cache is only updated whenever lurker-prune is run.
# If you are debugging your installation it may help to turn caching off.
# 
# web_cache = on

# Tell lurker to hide email addresses.
# 
# Normally, lurker includes all email addresses in the source email message.
# Some people feel that this helps spammers with email address harvesting.
# However, removing addresses makes your archive less useful to visitors.
# 
# This will also try to obscure email addresses found in message bodies.
# This option will not affect display of mailing list or admin addresses.
# 
# hide_email = off

# Tell lurker to enable access to raw email data.
# 
# Normally, lurker allows access to the raw contents of email messages.
# With proper MIME settings, this enables replies from the archive web pages.
# Attachments and other MIME components can also be retrieved by default.
# These are all quite useful features for open policy lists.
# However, if you intend to hide email addresses, or are concerned about
# people contracting viruses from archived mails, turn this off.
# 
# raw_email = on


#############################################################################
# Mailing list configuration.
#############################################################################

# Lurker needs to be told all of the lists you will be archiving here.
# New mailing lists may be added at any time and the archive will adjust.
# If you must remove a list, you will need to run lurker-regenerate.
# 
# Mailing lists are collected into groups on the front page and for searching.
# Each group has an id used for searches and a heading.
# The id of a group must be a string containing only a-z 0-9 and -_.
# If you need to move a mailing list to a new group, run this command:
#   lurker-search ml:listid -q -k gr:groupid
# 
# Each mailing list must also have an id for searching.
# These identifiers must be shorter than 128 bytes and simple like group ids.
# Mailing lists may have a title, address, link, and description.
# 
# Furthermore, you MUST specify the languages spoken on a mailing list.
# If you change the language spoken on a list, this will only affect new mail.
# If you need to tag old email to 'listid' as being french, run this command:
#   lurker-search ml:listid -q -k lang:fr


# group = open-source
# 	heading = Open-Source Mailing Lists
#
#
#	list = lurker-users
#		title[en] = Lurker-Users
#		title[de] = Lurkerbenutzer
#		language = en
#		address = lurker-users@lists.sourceforge.net
#		link = http://lists.sourceforge.net/lists/listinfo/lurker-users
#		# offline = true # set this, if you don't archive this list
#
#	list = some-mixed-language-list
#		title = Some List
#		language = en
#		language = fr # posts are tagged as both english and french
#		language = ru # posts might be russian too!
#		description =	A list for talking about the latest ___.
#				Please restrict posts to English, French, or
#				Russian. Thank you.


#############################################################################
# Front-end configuration
#############################################################################

# Lurker can manage multiple frontends/web interfaces.
# A frontend always has (and is identified by) it's cache directory.
# Each frontend specifies which lists/groups should be included.

# This front-end will include all lists/groups
frontend = @DEFAULT_WWW_DIR@

# Here are some more examples:

# This front-end will include only the list lurker-users
# frontend = /var/www/only-one
# 	allow_list = lurker-users

# This front-end will include all lists, except lurker-users
# frontend = /var/www/all-but-one
#	deny_list = lurker-users

# This front-end will include only group open-source, but omit lurker-users
# frontend = /var/www/one-group-without-one-list
#	allow_group = open-source
#	deny_list = lurker-users