annotate README @ 790:e05f92db6857 BRANCH_1_2_17

Added tag RELEASE_1_2_17_1 for changeset dc0f9614c839
author Ben Schmidt
date Sun, 21 Nov 2010 01:00:59 +1100
parents dc0f9614c839
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
789
dc0f9614c839 mlmmj-1.2.17.1
Ben Schmidt
parents: 713
diff changeset
1 README mlmmj-1.2.17.1 Aug 24th 2010
0
21ce01de8109 Initial revision
mmj
parents:
diff changeset
2
71
489a2ecafb36 Assorted fixes
mmj
parents: 65
diff changeset
3 This is an attempt at implementing a mailing list manager with the same
0
21ce01de8109 Initial revision
mmj
parents:
diff changeset
4 functionality as the brilliant ezmlm, but with a decent license and mail server
21ce01de8109 Initial revision
mmj
parents:
diff changeset
5 independency.
21ce01de8109 Initial revision
mmj
parents:
diff changeset
6
304
2825f29bb451 Small updates
mmj
parents: 291
diff changeset
7 The functionality:
0
21ce01de8109 Initial revision
mmj
parents:
diff changeset
8
21ce01de8109 Initial revision
mmj
parents:
diff changeset
9 · Archive
21ce01de8109 Initial revision
mmj
parents:
diff changeset
10 · Custom headers / footer
209
c7728653110e Furhter README updates
mmj
parents: 203
diff changeset
11 · Fully automated bouncehandling (similar to ezmlm)
c7728653110e Furhter README updates
mmj
parents: 203
diff changeset
12 · Complete requeueing functionality
71
489a2ecafb36 Assorted fixes
mmj
parents: 65
diff changeset
13 · Moderation functionality
92
4f0104f5a343 0.5.1 README
mmj
parents: 86
diff changeset
14 · Subject prefix
222
9530a91b10c7 *** empty log message ***
mmj
parents: 216
diff changeset
15 · Subscribers only posting
261
2effd474394e more release stuff
mmj
parents: 236
diff changeset
16 · Regular expression access control
304
2825f29bb451 Small updates
mmj
parents: 291
diff changeset
17 · Functionality to retrieve old posts
2825f29bb451 Small updates
mmj
parents: 291
diff changeset
18 · Web-interface
338
60da8d3ef63e added digest support
mortenp
parents: 323
diff changeset
19 · Digests
387
76232e610354 1.1.0-RC3 prep
mmj
parents: 385
diff changeset
20 · No mail delivery subscription
430
4ec6c541b7c0 Logging
mmj
parents: 417
diff changeset
21 · VERP support
456
160dab909572 Add .filename.lock file to lock against. Only allow addresses with a @ in them. 1.2.3
mmj
parents: 451
diff changeset
22 · Delivery Status Notification (RFC1891) support
0
21ce01de8109 Initial revision
mmj
parents:
diff changeset
23
21ce01de8109 Initial revision
mmj
parents:
diff changeset
24 To use mlmmj, do the following:
21ce01de8109 Initial revision
mmj
parents:
diff changeset
25
451
d146092aefd5 README enhancements
mmj
parents: 447
diff changeset
26 0) Compile it if you're not using a binary package such as dpkg, rpm or
d146092aefd5 README enhancements
mmj
parents: 447
diff changeset
27 a ports collection from a BSD or Gentoo. To compile, untar the tar-ball
d146092aefd5 README enhancements
mmj
parents: 447
diff changeset
28 and do:
d146092aefd5 README enhancements
mmj
parents: 447
diff changeset
29
d146092aefd5 README enhancements
mmj
parents: 447
diff changeset
30 $ ./configure && make && make install
d146092aefd5 README enhancements
mmj
parents: 447
diff changeset
31
655
d0eac1a38a8b Added --enable-recieve-strip configure option (Ansgar Burchardt)
mortenp
parents: 639
diff changeset
32 If you want to filter multipart/mime messages, pass the option
d0eac1a38a8b Added --enable-recieve-strip configure option (Ansgar Burchardt)
mortenp
parents: 639
diff changeset
33 --enable-recieve-strip to configure, and take a look at
d0eac1a38a8b Added --enable-recieve-strip configure option (Ansgar Burchardt)
mortenp
parents: 639
diff changeset
34 contrib/recievestrip/README.
d0eac1a38a8b Added --enable-recieve-strip configure option (Ansgar Burchardt)
mortenp
parents: 639
diff changeset
35
533
40c505c297f5 README and logging of discarded From: emails
mmj
parents: 526
diff changeset
36 1) Configure a recipient delimiter. The default is to use '+', and in
40c505c297f5 README and logging of discarded From: emails
mmj
parents: 526
diff changeset
37 Postfix it's done by adding
0
21ce01de8109 Initial revision
mmj
parents:
diff changeset
38
210
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
39 recipient_delimiter = +
0
21ce01de8109 Initial revision
mmj
parents:
diff changeset
40
280
8ea7108cc4ae 0.8.1 preparations
mmj
parents: 271
diff changeset
41 to /etc/postfix/main.cf. In Exim it can be done by adding
271
0bb008e061f4 Mention how recipient_delimiter is done in Exim
mmj
parents: 261
diff changeset
42
0bb008e061f4 Mention how recipient_delimiter is done in Exim
mmj
parents: 261
diff changeset
43 local_part_suffix = +*
0bb008e061f4 Mention how recipient_delimiter is done in Exim
mmj
parents: 261
diff changeset
44 local_part_suffix_optional
0bb008e061f4 Mention how recipient_delimiter is done in Exim
mmj
parents: 261
diff changeset
45
315
564caf17f59c README exim comments and sanity check in mlmmj-maintd
mmj
parents: 314
diff changeset
46 to the "userforward:" and the "localuser:" router in /etc/exim/exim.conf,
323
ef48b0eb6d75 TADAAAA. Drumroll please. 1.0.0 preparation commit
mmj
parents: 315
diff changeset
47 and also add "local_part_suffix = +*" to the system_aliases function. Also
ef48b0eb6d75 TADAAAA. Drumroll please. 1.0.0 preparation commit
mmj
parents: 315
diff changeset
48 make sure that exim will add the envelope from in the Return-Path: header.
0
21ce01de8109 Initial revision
mmj
parents:
diff changeset
49
323
ef48b0eb6d75 TADAAAA. Drumroll please. 1.0.0 preparation commit
mmj
parents: 315
diff changeset
50 There is a nice FAQ explaining recipient delimiter configuration here:
ef48b0eb6d75 TADAAAA. Drumroll please. 1.0.0 preparation commit
mmj
parents: 315
diff changeset
51
ef48b0eb6d75 TADAAAA. Drumroll please. 1.0.0 preparation commit
mmj
parents: 315
diff changeset
52 http://faqs.org/faqs/mail/addressing/
0
21ce01de8109 Initial revision
mmj
parents:
diff changeset
53
533
40c505c297f5 README and logging of discarded From: emails
mmj
parents: 526
diff changeset
54 The mmj TUNABLE "delimiter" configures this on a per list basis
40c505c297f5 README and logging of discarded From: emails
mmj
parents: 526
diff changeset
55
210
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
56 2) Create the mailinglist. There's a script, mlmmj-make-ml.sh, that will make
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
57 a mailinglist for mlmmj. It is highly recommended to use this script to make
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
58 the lists! What is does is described here:
0
21ce01de8109 Initial revision
mmj
parents:
diff changeset
59
210
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
60 In the case of a list called mlmmj-test below /var/spool/mlmmj it makes the
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
61 following directories:
0
21ce01de8109 Initial revision
mmj
parents:
diff changeset
62
210
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
63 /var/spool/mlmmj/mlmmj-test/incoming
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
64 /var/spool/mlmmj/mlmmj-test/queue
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
65 /var/spool/mlmmj/mlmmj-test/queue/discarded
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
66 /var/spool/mlmmj/mlmmj-test/archive
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
67 /var/spool/mlmmj/mlmmj-test/text
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
68 /var/spool/mlmmj/mlmmj-test/subconf
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
69 /var/spool/mlmmj/mlmmj-test/unsubconf
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
70 /var/spool/mlmmj/mlmmj-test/bounce
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
71 /var/spool/mlmmj/mlmmj-test/control
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
72 /var/spool/mlmmj/mlmmj-test/moderation
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
73 /var/spool/mlmmj/mlmmj-test/subscribers.d
366
7d6c9bb6168f Warning fixes and release prep
mmj
parents: 338
diff changeset
74 /var/spool/mlmmj/mlmmj-test/digesters.d
7d6c9bb6168f Warning fixes and release prep
mmj
parents: 338
diff changeset
75 /var/spool/mlmmj/mlmmj-test/nomailsubs.d
210
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
76 /var/spool/mlmmj/mlmmj-test/requeue
0
21ce01de8109 Initial revision
mmj
parents:
diff changeset
77
286
141f6c21e09a 0.8.2 stuff
mmj
parents: 280
diff changeset
78 NOTE: The mailinglist directory (/var/spool/mlmmj/mlmmj-test in our
141f6c21e09a 0.8.2 stuff
mmj
parents: 280
diff changeset
79 example) have to be owned by the user the mailserver writes as. On some
141f6c21e09a 0.8.2 stuff
mmj
parents: 280
diff changeset
80 Postfix installations Postfix is run by the user postfix, but still writes
141f6c21e09a 0.8.2 stuff
mmj
parents: 280
diff changeset
81 files as nobody:nogroup or nobody:nobody
0
21ce01de8109 Initial revision
mmj
parents:
diff changeset
82
210
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
83 3) Make the changes to your mailserver aliases that came as output from
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
84 mlmmj-make-ml.sh. Following the example above they will look like this:
0
21ce01de8109 Initial revision
mmj
parents:
diff changeset
85
323
ef48b0eb6d75 TADAAAA. Drumroll please. 1.0.0 preparation commit
mmj
parents: 315
diff changeset
86 mlmmj-test: "|/usr/bin/mlmmj-recieve -L /var/spool/mlmmj/mlmmj-test"
0
21ce01de8109 Initial revision
mmj
parents:
diff changeset
87
210
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
88 NOTE: Don't forget newaliases.
0
21ce01de8109 Initial revision
mmj
parents:
diff changeset
89
210
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
90 4) Start mlmmj-maintd (remember full path when starting it!) or add it to
216
cec96ecd796c More memory debugging, and small bugfixes
mmj
parents: 210
diff changeset
91 crontab with -F switch. The recommended way for now is to run it via cron:
209
c7728653110e Furhter README updates
mmj
parents: 203
diff changeset
92
210
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
93 "0 */2 * * * /usr/bin/mlmmj-maintd -F -L /var/spool/mlmmj/mlmmj-test"
209
c7728653110e Furhter README updates
mmj
parents: 203
diff changeset
94
286
141f6c21e09a 0.8.2 stuff
mmj
parents: 280
diff changeset
95 It should be started as root, as mlmmj-maintd will become the user owning
141f6c21e09a 0.8.2 stuff
mmj
parents: 280
diff changeset
96 the listdir (/var/spool/mlmmj/mlmmj-test), and log it's last maintenance
141f6c21e09a 0.8.2 stuff
mmj
parents: 280
diff changeset
97 run to listdir/mlmmj-maintd.lastrun.log.
141f6c21e09a 0.8.2 stuff
mmj
parents: 280
diff changeset
98
366
7d6c9bb6168f Warning fixes and release prep
mmj
parents: 338
diff changeset
99 If you have several lists below /var/spool/mlmmj you can use -d:
7d6c9bb6168f Warning fixes and release prep
mmj
parents: 338
diff changeset
100 /usr/bin/mlmmj-maintd -F -d /var/spool/mlmmj
185
f92879537344 Prep for 0.6.0 and small debug info removal etc.
mmj
parents: 131
diff changeset
101
323
ef48b0eb6d75 TADAAAA. Drumroll please. 1.0.0 preparation commit
mmj
parents: 315
diff changeset
102 That's it! You probably want to go through the next steps too.
0
21ce01de8109 Initial revision
mmj
parents:
diff changeset
103
210
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
104 5) Subscribe some people
0
21ce01de8109 Initial revision
mmj
parents:
diff changeset
105
210
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
106 /usr/bin/mlmmj-sub -L /var/spool/mlmmj/mlmmj-test/ -a joe@domain.tld
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
107
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
108 etc.
0
21ce01de8109 Initial revision
mmj
parents:
diff changeset
109
210
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
110 6) If you want custom headers like X-Mailinglist, Reply-To: etc. just add a
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
111 file called 'customheaders' in the list control/ directory like this:
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
112 $ cat /var/spool/mlmmj/mlmmj-test/control/customheaders
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
113 X-Mailinglist: mlmmj-test
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
114 Reply-To: mlmmj-test@domain.tld
0
21ce01de8109 Initial revision
mmj
parents:
diff changeset
115
210
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
116 7) If you want every mail to have something like:
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
117 --
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
118 To unsubscribe send a mail to coollist+unsubscribe@lists.domain.net
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
119
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
120 Just add what you want to a file named "footer" in the same dir as
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
121 "customheader" (listdir/control/).
0
21ce01de8109 Initial revision
mmj
parents:
diff changeset
122
210
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
123 8) If you want a prefix on the subject, to make it look like this:
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
124 Subject: [mlmmj-test] how are we doing?
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
125 Simply do 'echo "[mlmmj-test]" > control/prefix
0
21ce01de8109 Initial revision
mmj
parents:
diff changeset
126
210
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
127 9) For having a moderated list, simply create a file called 'moderated' in the
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
128 control/ directory. Moderators are added to a file called 'moderators' in
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
129 the control/ dir as well.
0
21ce01de8109 Initial revision
mmj
parents:
diff changeset
130
210
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
131 10) Have a look at the file TUNABLES for runtime configurable things.
92
4f0104f5a343 0.5.1 README
mmj
parents: 86
diff changeset
132
81
f435923b65e4 mlmmj-{,un}sub have been brought up to speed in a coordinated effort
mortenp
parents: 71
diff changeset
133 Tunables in include/mlmmj.h:
185
f92879537344 Prep for 0.6.0 and small debug info removal etc.
mmj
parents: 131
diff changeset
134 · There's some time intervals for how mlmmj-maintd operates. I've choosen
f92879537344 Prep for 0.6.0 and small debug info removal etc.
mmj
parents: 131
diff changeset
135 non-strict defaults, so depending on your BOFH rate you might want to tweak.
210
fd0ee1218436 Updates
mmj
parents: 209
diff changeset
136 The defaults should be good for most people though.
0
21ce01de8109 Initial revision
mmj
parents:
diff changeset
137
21ce01de8109 Initial revision
mmj
parents:
diff changeset
138 Have a fun!
21ce01de8109 Initial revision
mmj
parents:
diff changeset
139
32
80d78590635e Adjust ChangeLog and README to pending 0.3.2 release
mmj
parents: 0
diff changeset
140 Mads Martin Joergensen <mmj at mmj dot dk>
80d78590635e Adjust ChangeLog and README to pending 0.3.2 release
mmj
parents: 0
diff changeset
141 Morten K. Poulsen <morten at afdelingp dot dk>