Mailman: Difference between revisions
From charlesreid1
(Created page with "=Installation= You can download mailman from here: http://www.gnu.org/software/mailman/download.html To verify the download using the signature, add the public keys of the deve...") |
|||
| Line 7: | Line 7: | ||
==Pre-Configure Process== | ==Pre-Configure Process== | ||
You must first create a | You must first create a group named "mailman" on your system, and create a user named "mailman" in the group "mailman". | ||
<pre> | |||
# groupadd mailman | |||
# useradd --shell /no/shell --home-dir /no/home --gid mailman mailman | |||
</pre> | |||
==Configuration== | |||
For my configuration of mailman, I wanted to make a self-contained installation, including moving the <code>/var/mailman</code> directory (which contains mutable mailman data) into the mailman installation directory. This is the reason for the <code>--with-var-prefix</code> option. | |||
<syntaxhighlight lang="bash"> | |||
#!/bin/sh | |||
./configure \ | |||
--prefix=${HOME}/pkg/mailman/2.1.14 \ | |||
--with-var-prefix=${HOME}/pkg/mailman/var | |||
</syntaxhighlight> | |||
Before I ran configure, I had to run | |||
<pre> | |||
$ mkdir -p ${HOME}/pkg/mailman/var | |||
$ sudo chown mailman ${HOME}/pkg/mailman/var | |||
$ sudo chmod 775 ${HOME}/pkg/mailman/var | |||
</pre> | |||
Revision as of 20:46, 7 April 2011
Installation
You can download mailman from here: http://www.gnu.org/software/mailman/download.html
To verify the download using the signature, add the public keys of the developers listed on the download page, and visit Verifying a File using a Detached Signature at my GnuPG page for the verification process.
Pre-Configure Process
You must first create a group named "mailman" on your system, and create a user named "mailman" in the group "mailman".
# groupadd mailman # useradd --shell /no/shell --home-dir /no/home --gid mailman mailman
Configuration
For my configuration of mailman, I wanted to make a self-contained installation, including moving the /var/mailman directory (which contains mutable mailman data) into the mailman installation directory. This is the reason for the --with-var-prefix option.
#!/bin/sh
./configure \
--prefix=${HOME}/pkg/mailman/2.1.14 \
--with-var-prefix=${HOME}/pkg/mailman/var
Before I ran configure, I had to run
$ mkdir -p ${HOME}/pkg/mailman/var
$ sudo chown mailman ${HOME}/pkg/mailman/var
$ sudo chmod 775 ${HOME}/pkg/mailman/var