558
|
1 |------------------------------------------------------------------------------|
|
|
2 | Using mlmmj with qmail (and vpopmail) |
|
|
3 |------------------------------------------------------------------------------|
|
|
4 |--------------- Fabio Busatto <fabio.busatto@programmazione.it> --------------|
|
|
5 |------------------------------------------------------------------------------|
|
|
6
|
|
7 This mini-HOWTO is a step-by-step guide for using mlmmj with qmail MTA
|
|
8 (http://www.qmail.org/), and it has been successfully tested also with vpopmail
|
|
9 virtual domains (http://www.inter7.com/vpopmail/).
|
|
10
|
|
11 Prerequisites:
|
|
12 - qmail (and vpopmail) correctly installed
|
|
13 - mlmmj correctly installed
|
|
14
|
|
15 Conventions:
|
|
16 - ${BINDIR}: directory with mlmmj binary files (/usr/local/bin/)
|
|
17 - ${LISTDIR}: directory with list configuration files
|
|
18 (/var/spool/mlmmj/listname)
|
|
19 - ${DQFILE}: dot-qmail file (see below)
|
|
20
|
|
21 Configuration:
|
|
22 - the first thing you've to do is to create the list, using the
|
|
23 mlmmj-make-ml.sh script (follow the classic procedure to do this step)
|
|
24 - enter the control directory for the list (${LISTDIR}/control/), and execute
|
|
25 the following command:
|
|
26 # cd ${LISTDIR}/control/; echo '-' > delimiter
|
|
27 - chown and chmod the file according to the mlmmj configuration
|
|
28 - create dot-qmail files for the list to handle direct requests and extensions:
|
|
29 # echo -e "|${BINDIR}/mlmmj-recieve -L ${LISTDIR}" > ${DQFILE}
|
|
30 - chown and chmod the files according to the qmail (and vpopmail) configuration
|
|
31
|
|
32 WARNING: REMEMBER that the delimiter is -, so do not use + when composing mail
|
|
33 addresses for extensions!!!
|
|
34
|
|
35 WARNING: DO NOT USE 'preline' command in dot-qmail files, it will result in
|
|
36 mlmmj to not work properly!!!
|
|
37
|
|
38 |------------------------------------------------------------------------------|
|
|
39
|
|
40 Example:
|
|
41
|
|
42 - Configuring mlmmj to handle ml@programmazione.it mailing list using qmail as
|
|
43 MTA and vpopmail for virtual domain support:
|
|
44
|
|
45 # mlmmj-make-ml.sh -c vpopmail:vchkpw -L ml
|
|
46 Creating Directorys below /var/spool/mlmmj. Use '-s spooldir' to change
|
|
47 The Domain for the List? [] : programmazione.it
|
|
48 The emailaddress of the list owner? [postmaster] : postmaster@programmazione.it
|
|
49 The path to texts for the list? [/usr/local/share/mlmmj/text.skel] :
|
|
50 chown -R vpopmail:vchkpw /var/spool/mlmmj/ml? [y/n]: y
|
|
51
|
|
52 # cd /var/spool/mlmmj/ml/control/
|
|
53 # echo '-' > delimiter
|
|
54 # chown vpopmail:vchkpw delimiter
|
|
55 # cd /home/vpopmail/domains/programmazione.it/
|
|
56 # echo -e "|/usr/local/bin/mlmmj-recieve -L /var/spool/mlmmj/ml/" > .qmail-ml
|
|
57 # cp -a .qmail-ml .qmail-ml-default
|
|
58 # cat *-default
|
|
59 # chown vpopmail:vchkpw .qmail-ml .qmail-ml-default
|
|
60 # chmod 600 .qmail-ml .qmail-ml-default
|
|
61
|
|
62 |------------------------------------------------------------------------------|
|
|
63 |--------------- Fabio Busatto <fabio.busatto@programmazione.it> --------------|
|
|
64 |------------------------------------------------------------------------------|
|