-
Notifications
You must be signed in to change notification settings - Fork 4
/
README.DIRECTORIES
228 lines (211 loc) · 7.42 KB
/
README.DIRECTORIES
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
Directory Structure of an Installed Majordomo System
====================================================
There are two possibly disjoint directory tries whose locations are
determined at install time. One tree holds the executables and libraries
(the "code tree") whose structure largely is determined by the Perl
installation system. The other holds the domains, lists, configuration
files, etc. (the "data tree").
Layout of the code tree:
installation-defined root
|
+-- bin (executables)
| |
| +-- mj_shell (shell interface)
| |
| +-- .mj_shell (actual script) *
| |
| +-- (etc)
|
|
+-- lib (library files)
|
+-- man (manual pages for Majordomo executables and modules)
|
+-- majordomo.crontab (a sample crontab file)
*) If the setuid wrappers were built, the actual scripts will have a
period prepended to their names. Otherwise the script itself will be
setuid. The scripts which are wrapped/made setuid will differ
depending on which MTA the system is running under.
Layout of the data tree:
This assumes a Majordomo system serving the imaginary domain "dom.ain".
installation-defined root
|
+-- ALIASES (alias files for Sendmail)
| |
| +-- mj-alias-dom.ain (the Majordomo-generated alias file)
| |
| +-- mj-alial-dom.ain.db (the Sendmail-generated database file)
| |
| (so on for additional domains)
|
|
+-- LIB (domain-specific Perl code)
| |
| +-- cf_defs_dom.ain.pl (configuration defaults for dom.ain)
| |
| (so on for additional domains)
|
|
+-- QUEUE (directory holding incoming messages when in queueing mode)
| |
| +-- (one directory per domain priority)
| |
| +-- (one directory per domain with this priority)
| |
| +-- (one directory per list priority)
| |
| +-- list (directory holding queued list mail)
| | |
| | OAA-7033-mylist (one queue file per message) (+)
| |
| +-- majordomo (directory holding queued mail to majordomo)
| |
| +-- owner (directory holding queued mail to list owners)
| |
| +-- request (directory holding queued mail to -request addresses)
|
|
+-- SITE (data shared between all domains)
| |
| +-- config.pl (installation-wide configuration data)
| |
| +-- files (stock response files)
| |
| +-- INDEX.pl (Extended file information)
| |
| +-- en (English files)
| | |
| | +-- ack_denial (default message sent for denials)
| | |
| | +-- confirm (default message send for confirmations)
| | |
| | (and so on for other response files)
| | |
| | +-- config (configuration variable descriptions)
| | | |
| | | +-- access_rules (description of access_rules variable)
| | | |
| | | +-- digests (description of digests variable)
| | | |
| | | (etc. There are over 100 configuration settings)
| | |
| | |
| | +-- help (help files)
| | |
| | +-- topics (list of all help topice)
| | |
| | +-- patterns (help on patterns and regexps)
| | |
| | +-- admin_configuration (help for administrative commands)
| | |
| | (etc. There are many help files)
| |
| |
| +-- de (German files)
| | |
| | (a duplication of the 'en' tree)
| | |
| | +-- informal (informal German files, as a subdirectory)
| | |
| | (a duplication of the 'en' tree)
| |
| |
| (repeat for each additional translation)
|
|
+-- dom.ain (directory holding lists for this domain)
| |
| +-- GLOBAL (non-list-specific configuration for dom.ain)
| | |
| | +-- C_install (default configuration values)
| | |
| | +-- _config (configuration)
| | |
| | +-- _log (log of all actions)
| | |
| | +-- _parser.# (database of e-mail command failures) *
| | |
| | +-- _register.# (database holding registrations) *
| | |
| | +-- _tokens.# (database holding confirmation tokens) *
| | |
| | +-- files (directory holding accessible files)
| | | |
| | | +-- samplefile (a file)
| | | |
| | | +-- .samplefile (extended information about samplefile) **
| | | |
| | | +-- public (directory holding publicly accessible files)
| | | |
| | | |
| | | (other files placed here override te SITE files)
| | |
| | |
| | +-- sessions (directory holding session information) %
| | | |
| | | +-- 7e
| | | |
| | | +-- 5d
| | | |
| | | +-- 7e5d32a1c7469af7999ecab19b424cf0f5b38995 (session file)
| | |
| | +-- spool (directory holding messages awaiting confirmation)
| | |
| | +-- 9719-E36D-8021 (a posted message)
| |
| |
| |
| +-- listname (directory holding a list)
| | |
| | +-- _bounce.# (database holding error message statistics) *
| | |
| | +-- _config (configuration data) *
| | |
| | +-- _digests (information about messages awaiting digestification)
| | |
| | +-- _dup_id.# (duplicate message ID database) *
| | |
| | +-- _dup_sum.# (duplicate checksum database) *
| | |
| | +-- _dup_partial.# (duplicate partial checksum database) *
| | |
| | +-- _posts.# (database holding posted message statistics) *
| | |
| | +-- _subscribers.# (database holding list subscribers) *
| | |
| | +-- files (directory holding list files)
| | |
| | +-- public (publicly accessible files
| | | |
| | | +-- archive (default location for archives)
| | | |
| | | +--listname.199905 (an archive file in mbox format)
| | | |
| | | +-- .index (directory holding indices)
| | | |
| | | +-- Clistname.199905 (file with message and line counts)
| | | |
| | | +-- Ilistname.199905.T (index database)
| | |
| | |
| | (other files placed here override the GLOBAL files)
| |
| |
| (other lists duplicate the structure of 'listname')
|
|
(other domains duplicate the structure of 'dom.ain')
*) For databases, the final letter indicates the backend. Some backends
may require additional files or not use files at all.
**) Dotfiles hold a description and MIME typing info. They are not
required to exist; default information is used if they do not.
%) Majordomo saves information about every transaction (message headers,
CGI environment, etc) in session files. Sessions expire after some
configurable time.
+) Format of queue file names, basically same as Sendmail:
OAA-12345-mylist
|| | |
|| pid list name
|unique id
hour of day, midnight=A
Messages queued to the majordomo address don't have '-listname' part.