Mercurial > hg > mlmmj
annotate README.qmail @ 919:e371a935a0cd default tip master
Added tag RELEASE_1_3_0 for changeset 570dd6d4942b
author | Ben Schmidt |
---|---|
date | Thu, 25 May 2017 09:08:47 +1000 |
parents | fdc57c9e5f56 |
children |
rev | line source |
---|---|
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 | |
749
fdc57c9e5f56
Remove .sh from mlmmj-make-ml.sh; symlink original name
Ben Schmidt
parents:
748
diff
changeset
|
23 mlmmj-make-ml script (follow the classic procedure to do this step) |
558 | 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: | |
748
dfc9ab125fd4
Fix spelling of 'receive' and 'voodoo'; make mlmmj-recieve a symlink
Chris Webb
parents:
558
diff
changeset
|
29 # echo -e "|${BINDIR}/mlmmj-receive -L ${LISTDIR}" > ${DQFILE} |
558 | 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 | |
749
fdc57c9e5f56
Remove .sh from mlmmj-make-ml.sh; symlink original name
Ben Schmidt
parents:
748
diff
changeset
|
45 # mlmmj-make-ml -c vpopmail:vchkpw -L ml |
558 | 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/ | |
748
dfc9ab125fd4
Fix spelling of 'receive' and 'voodoo'; make mlmmj-recieve a symlink
Chris Webb
parents:
558
diff
changeset
|
56 # echo -e "|/usr/local/bin/mlmmj-receive -L /var/spool/mlmmj/ml/" > .qmail-ml |
558 | 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 |------------------------------------------------------------------------------| |