Dear sir,
My name's Sophal Chey. I live in Cambodia. I'm a man 22.
I would like you to aid me to install+configure of mailman to work with qmail.
My server's OS is Redhat Linux 7.2. I've already installed and configured qmail and
python work properly.
But the mailman is not yet. I've tried 2 months on mailman but i can't get anything
from it cost it difficult to understand as well my English is quite poor too.
Here are the points int the install file int the mailman directory that I would like
to ask you:
1. )SYSTEM SETUP :
_______________
---------------------
- Add a new user called `mailman'. Typically this is added to
your /etc/passwd file. If username `mailman' is already in use,
choose something else unique and see the --with-ownername flag
below.
- Add a new group called `mailman'. Typically this is added to
your /etc/group file. The Mailman files will be installed under
the `mailman' group, with the set-group-id bit. This is so both
the web based and mail based programs will have the proper write
permissions. If groupname `mailman' is already in use, choose
something else unique and see the --with-ownergroup below.
__________________________________________________________________________________
At this one I don't know how to use command line to create the user and group
mailman. Thus
could you make the real command line for me ?
__________________________________________________________________________________
- Create an installation directory (called $prefix in the
documentation that follows). All of the Mailman files will be
installed under $prefix. Run "configure --help" for ways to
split the installation up based on read-only vs. read/write
files.
__________________________________________________________________________________
At this place, I don't know I should create directory $prefix first and then copy
the mailman directory into $prefix or I should create directory $prefix under the
mailman directory.
__________________________________________________________________________________
2. )RUNNIG CONFIGURE :
_____________________
------------------------------
% cd mailman-<version>
% ./configure
% make install
The following options allow you to customize your Mailman
installation.
--prefix=<dir>
Standard GNU configure option which changes the base
directory that Mailman is installed into. By default
$prefix is /home/mailman. This directory must already
exist, and be set up as described in section 1 above.
--exec-prefix=<dir>
Standard GNU configure option which lets you specify a
different installation directory for architecture
dependent binaries.
--with-var-prefix=<dir>
Store mutable data under <dir> instead of under the prefix
or exec_prefix.
--with-python=</path/to/python>
Specify an alternative Python interpreter to use for the
wrapper programs. The default is to use the interpreter
found first on your shell's $PATH. Note that when running
the scripts from the command line, the first Python
interpreter found on $PATH is always used.
--with-username=<username-or-uid>
Specify a different username than `mailman' to use as a
default. Use this only if the username `mailman' is
already in use by somebody (e.g. Mark Ailman's login
name). Can take an integer user id. Be sure your $prefix
directory is owned by this user.
--with-groupname=<groupname-or-gid>
Specify a different groupname than `mailman' to use as a
default. Use this only if the groupname `mailman' is
already in use. Can take an integer group id. Be sure
your $prefix directory is group-owned by this group.
--with-mail-gid=<group-or-groups>
Specify an alternative group for running scripts via the
mail wrapper. <group-or-groups> can be a list of one or
more integer group ids or symbolic group names. The first
value in the list that resolves to an existing group is
used. By default, the value is the list `other daemon'.
This is highly system dependent and you must get this
right, because the group id is compiled into the mail
wrapper program for added security. On systems using
sendmail, the sendmail.cf configuration file designates
the group id of sendmail processes using the "DefaultUser"
option. (If commented out, it still may be indicating the
default...)
--with-cgi-gid=<group-or-groups>
Specify an alternative group for running scripts via the
CGI wrapper. <group-or-groups> can be a list of one or
more integer group ids or symbolic group names. The first
value in the list that resolves to an existing group is
used. By default, the value is the the list `www www-data
nobody'.
The proper value for this is dependent on your web server
configuration. You must get this right, because the group
id is compiled into the CGI wrapper program for added
security, and no Mailman CGI scripts will run if this is
incorrect.
If you're using Apache, check the values for the `Group'
option in your httpd.conf file.
--with-cgi-ext=<extension>
Specify an extension for cgi-bin programs. The CGI
wrappers placed in $PREFIX/cgi-bin will have this
extension (some web servers require an extension).
<extension> must include the dot.
--with-gcc=no
Don't use gcc, even if it is found. `cc' must be found on
your $PATH
__________________________________________________________________________________
Which option should I use it with ./configure . And could you make the real
command line for me ?
__________________________________________________________________________________
4. ) Final system set-up :
____________________
----------------------------
- Configure your web server to give $prefix/cgi-bin permission to
run CGI scripts. You probably need to be root to do this.
The line you should add might look something like the following
(with the real absolute directory substituted for $prefix, of
course):
Exec /mailman/* $prefix/cgi-bin/*
or:
ScriptAlias /mailman/ $prefix/cgi-bin/
Consult your web server's documentation for details.
__________________________________________________________________________________
Which file that I have to add this line to ?
__________________________________________________________________________________
- Add aliases for `mailman' and `mailman-owner' to the system's
mail alias database. These aliases should point to whoever is
ultimately responsible for the Mailman installation. Here are
instructions for those running sendmail:
1. su to root.
2. Assuming your email is [EMAIL PROTECTED], add the following
lines to the file /etc/aliases:
mailman: [EMAIL PROTECTED]
mailman-owner: mailman
3. Some versions of sendmail require you to run the program
'newaliases' explicitly.
If you don't run sendmail, consult the documentation of your
mail transport program for information on adding these aliases.
__________________________________________________________________________________
At here, in my server I use qmail so should i follow this 3 step ? In the
README.QMAIL, I don't understant at all. Thus could you make the detail for me ?
__________________________________________________________________________________
5. )Customize Mailman :
___________________
---------------------------
- The file $prefix/Mailman/Defaults.py contains a number of
defaults for your installation. If any of these are incorrect,
override them in $prefix/Mailman/mm_cfg.py, NOT IN Defaults.py!
See the comments in Defaults.py for details. Once a list is
created, editing many of these variables will have no effect
(you need to configure your lists through the web admin
interface or through the command line script bin/config_list).
Specifically check to make sure the variables DEFAULT_HOST_NAME
and DEFAULT_URL are correct. The latter MUST end in a slash.
__________________________________________________________________________________
I don't know when it's correct and when it's incorrect. The DEFAULT_HOST_NAME is
my server's name or my domain's name.
__________________________________________________________________________________
Thanks in advance for your assistance.
Yours Sincerly,
Sophal Chey.
_____________________________________________________________
ez2www.com Metasearch the Invisible Web. Sign up now for your FREE email at
http://ez2www.com.
_____________________________________________________________
Promote your group and strengthen ties to your members with [EMAIL PROTECTED] by
Everyone.net http://www.everyone.net/?btn=tag
------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/