Majordomo Confixx installation
Diese Anleitung stammt von Confixx und wurde von mir angepasst.
[b][size=18][color=red]Ich übernehme keine Haftung für eventuelle Schäden oder Ausfälle.[/color][/size][/b]
[b][size=18][color=red]Alles auf eigenes Risiko!!![/color][/size][/b]
INSTALLATION GUIDE FOR SUSE!!
Achtet auf die jeweiligen Pfade euerer Distris!!!
Ausserdem müssen die erforderlichen SuSE Pakete installiert sein.
RECOMMENDED CONFIGURATION
1) MySQL 3.xx (database server)
2) Postfix (mail transfer agent)
3) Qpopper (POP3 daemon)
4) Vsftpd (FTP server)
INSTALLATION
STEP 1.
INSTALLING 3RD PARTY PRODUCTS FROM THE SUSE DISTRIBUTION
Below is the list of SuSE packages to be installed if you chose recommended
configuration.
apache
apache-mod_php4
apache-mod_python
mysql
mysql-shared
mysql-client
mod_php4-core
perl
perl-DBI
perl-Msql-Mysql-modules
vsftpd
postfix
qpopper
bind
bind-utils
webalizer
procmail
gcc
libc6-dev
make
perl-spamassassin (SuSE 9)
spamassassin (SuSE 9)
NOTE: Make sure that the FTP server works properly: try to login after
installation on choosed FTP server (vsftp).
Some of the packages may be reported as already installed. It is not an
error - it only means that you do not need to install the package.
STEP 2.
CONFIGURING APACHE
Confixx requires Apache module mod_rewrite. Check file
/etc/apache2/sysconfig.d/loadmodule.conf - if the module is loaded or
not. There should be the following line:
LoadModule rewrite_module /usr/lib/apache2-prefork/mod_rewrite.so
If the line does not present in loadmodule.conf file, then you should open
file /etc/sysconfig/apache2, find there APACHE_MODULES variable and
change it adding "rewrite" word in the list assigned, e.g. (pay attention
to the end of the string):
APACHE_MODULES="access actions alias auth auth_dbm autoindex cgi dir env
expires include log_config mime negotiation setenvif ssl suexec userdir
php4 rewrite"
Then you should restart Apache:
/etc/init.d/apache2 restart
STEP 3.
CONFIGURE MYSQL
Login to mysql console and execute the following commands:
#~: mysql -p (as user root )
Enter password: <enter without password>
mysql> use mysql;
mysql> delete from user where User = '' ;
mysql> delete from db where User = ''
mysql> update user set Password = Password('some_passwd') where User =
'root'
mysql> flush privileges;
mysql> exit;
It will create a password for the mysql 'root' user.
STEP 4.
INSTALL AND CONFIGURE SPAMASSASSIN
The SpamAssassin software gives an ability to filter SPAM in
your customers Mailboxes when receiving mail there.
Skip the step if you do not need SpamAssassin support in Confixx.
You can also skip the step for SuSE9 box, if you alredy installed
SpamAssassin package from SuSE distribution.
The latest software version can be found on
http://spamassassin.org
The latest (at the moment of publishing) zipped version can
downloaded via
the following URL:
http://au2.spamassassin.org/released/Mail-SpamAssassin-2.61.tar.gz
Unpack the ditribution
#~: tar -xzf Mail-SpamAssassin-2.60.tar.gz
#~: cd Mail-SpamAssassin-2.60
Build it
#~: perl Makefile.PL
#~: make
#~: make install
http://download1.sw-soft.com/Confixx/ConfixxPro3/Docs/files.tgz
You need to extract the files
/etc/init.d/spamassassin
/etc/procmailrc
/etc/default/spamassassin
from the files.tgz archive and place them at the locations specified
(packed from / - directory).
Then edit /etc/postfix/main.cf file to set the following option:
mailbox_command = /usr/bin/procmail
then launch
#~: update-rc.d spamassassin defaults
Make sure that file /etc/mail/spamassassin/local.cf exists
and create it if no:
#~: touch /etc/mail/spamassassin/local.cf
Now SpamAssassin is configured.
STEP 5.
INSTALL AND CONFIGURE MAJORDOMO
Majordomo is a program which automates the management of
Internet mailing lists. Having this program installed you can
offer your customers an ability to create and manage mailing
lists via Confixx web interface.
Skip the step if you do not need Majordomo support in Confixx.
The latest version of the product can be found on
http://www.greatcircle.com/majordomo/
The latest (at the moment of publishing) gzipped version can
downloaded via the following URL:
[code]mkdir /usr/local/src/
cd /usr/local/src/
wget http://www.greatcircle.com/majordomo/1.94.5/majordomo-1.94.5.tar.gz[/code]
Unpack the software
[code]tar xzf majordomo-1.94.5.tar.gz[/code]
[code]cd majordomo-1.94.5[/code]
Create majordomo user and group:
[code]groupadd majordomo[/code]
[code]useradd majordomo -g majordomo[/code]
[code]cat /etc/passwd | grep majordomo[/code]
Merke dir die User id und Gruppe.
Diese Daten trägst du in dann gleich im Makefile ein (W_USER und W_GROUP).
[code]mkdir /usr/local/majordomo[/code]
Create temporary dir for majordomo:
[code]mkdir /usr/tmp[/code]
[code]chown majordomo:majordomo /usr/tmp[/code]
Jetzt das Makefile abändern:
[code]groupadd majordomo[/code]
Change the line with PERL variable definition to
PERL = /usr/bin/perl
Change the line with W_HOME variable definition to
W_HOME = /usr/local/majordomo
Change the lines with W_USER and W_GROUP variables definition to
(below are sample value use the UID and GID remembered above):
W_USER = 1000
W_GROUP = 104
Edit the configuration file
[code]cp sample.cf majordomo.cf[/code]
[code]mcedit majordomo.cf[/code]
Set $whereami variable to your host name and that is enough
$whereami = "your-host.com";
Install the majordomo:
[code]make wrapper
make install
make install-wrapper[/code]
Check the installation:
[code]cd /usr/local/majordomo; ./wrapper config-test[/code]
You should see something like:
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
----------------------- end of tests -----------------------
Nothing bad found! Majordomo _should_ work correctly.
If it doesn't, check your configuration file
(/usr/local/majordomo/majordomo.cf)
closely, and if it still looks okay, consider asking the majordomo-users
mailing list at "majordomo-users@greatcircle.com" for assistance. Be sure
and fully specify what your problems are, and what type of machine (and
operating system) you are using.
Enjoy!
I see you haven't registered this version of Majordomo.
By registering, you will be notified of patches and further releases
of Majordomo. Shall I send email to majordomo-registration@greatcircle.com
to register this version? (I'll cc Majordomo-Owner@deb3.victory.plesk.ru)
[yes] no
Ooooh, like to live dangerously, eh?!
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
You have the majordomo installed. The further configuration will be performed
by Confixx software.
STEP 6.
INSTALL AND CONFIGURE MAJORCOOL
MajorCool is an administrative front-end to the popular mailing
list manager (Majordomo), allowing list-owners to manage their
list configuration and subscriber base. If you install
MajorCool, the user interface will show a link to MajorCool.
Skip the step if you do not need Majordomo support in Confixx.
The latest software version can be found on
http://www.conveyanced.com/MajorCool/
The latest (at the moment of publishing) zipped version can
downloaded via the following URL:
[code]mkdir /usr/local/src/
cd /usr/local/src/
wget http://www.conveyanced.com/MajorCool/majorcool.tar.gz[/code]
Unpack the distribution:
[code]mkdir majorcool
tar xzf majorcool.tar.gz -C majorcool
cd majorcool[/code]
Fix the Configure script
[code]mcedit Configure[/code]
change the PERLBIN variable to be set properly:
PERLBIN="/usr/bin/perl" # How to start a perl script
[code]mkdir /var/www/cgi-bin
mkdir /var/www/images[/code]
Now run the configure script and be ready for lots of questions
[code]./Configure[/code]
The most important questions are:
What is the installation directory of Majordomo?
/usr/local/majordomo
Nun kommt es darauf an welches Betriebsystem Ihr einsetzt.
$ What is the root directory for your Web server?
$ [/etc/httpd/]
SuSE:
/etc/httpd
Debian:
/etc/apache
$ Where is the cgi-bin directory for your Web server?
$ [/var/www/cgi-bin]
SuSE:
/srv/www/cgi-bin oder /home/www/cgi-bin
Debian:
/var/www
$ What is your server's URL for '/var/www/cgi-bin'?
$ [/cgi-bin]:<Enter>
To answer the next questions properly you need to
1) open Apache configuration file (typically /etc/apache/httpd.conf or /etc/httpd/conf/httpd.conf)
2) find there a line starting with
Alias /icons/
Usually it looks like
Alias /icons/ /usr/share/apache/icons/
So the 2nd argument in line (/usr/share/apache/icons/) is the images directory
and the 1st one (/icons/) is the server's URL for it.
$ Where is the image directory for your Web server?
$
/srv/www/icons
$ Will place the icons in /srv/www/icons
$ What is your server's URL for '/srv/www/icons'?
$ [/icons]:
/icons
$ Where is the root directory for documents on your Web server?
$ [/var/www/]:
SuSE:
/srv/www/htdocs oder /home/www
Debian:
/var/www
It is highly recommended to answer "No" to the following questions unless you
plan to supply your customers with list create/rename/delete abilities outside
of Confixx Control Panel. It is possible to turn the features below off after
the installation is complete.
$ Provide list CREATE access [Y]? N
$ Provide list RENAME access [Y]? N
$ Provide list DELETE access [Y]? N
STEP 7.
INSTALL IDNKIT
IDN (International Domain Names) - the technology allows create
and use domains having national characters in their names.
Server side of IDN support is performed by IDNKit software.
Skip the step if you do not need IDN support in Confixx.
The latest software version can be found on
http://www.nic.ad.jp/en/idn/
The latest (at the moment of publishing) zipped version can
downloaded via the following URL:
http://www.nic.ad.jp/ja/idn/idnkit/download/sources/idnkit-1.0-src.tar.gz
#~: tar xzf idnkit-1.0-src.tar.gz
#~: cd idnkit-1.0-src
#~: ./configure
#~: make
#~: make install
STEP 8.
INSTALLING COLDFUSION
Having this product installed you can offer your customers an
ability of using CFML (ColdFusion Markup Language) on their web
sites.
Unlike most of the other described packages, Coldfusion server
is not shareware or open sourced. Trial version could be
downloaded from http://macromedia.com (about 100Mb).
Launch the downloaded binary and follow the instructions.
STEP 10.
INSTALLING XML::DOM PACKAGE
Download XML::DOM package from cpan.org:
http://search.cpan.org/CPAN/authors/id/T/TJ/TJMATHER/XML-DOM-1.43.tar.gz
:~# tar -xzf XML-DOM-1.43.tar.gz
:~# cd XML-DOM-1.43
:~# perl ./Makefile.PL
:~# make
:~# make install
You may require some another perl packages depending on your OS installation.
STEP 11.
CONFIGURE AND INSTALL CONFIXX
Unpack the distribution
#~: tar xzf confixx_install_Pro_3.0.0_mysql.tgz
#~: cd confixx-install
Launch the configure script and answer its questions accordingly to
configuration of your system
#~: ./configure.pl
The sample configure session log (with answers) could be found in
configure_session.log file.
Now you can launch the installation script:
#~: ./install.pl
The installation script may ask you for some paths - you are to give him
a correct answer.
NOTE 1: spamassassin daemon start/stop script is "/etc/init.d/spamd" if you have
installed spamassassin from SuSe 9 distribution.
NOTE 2: 'httpd' is a link to 'httpd-prefork' binary on the SuSE 9, so you
should answer '/usr/sbin/httpd-prefork' when being asked about apache binary.
STEP 12
FINISHING THE INSTALLATION
Register the script in crontab.
#~: echo "*/1 * * * * /root/confixx/confixx_counterscript.pl" >> tmp.cron
#~: crontab -u root tmp.cron
Restart the apache
/etc/init.d/apache stop
/etc/init.d/apache star
Launch the counterscript manually
#~: /root/confixx/confixx_counterscript.pl
STEP 11.
ACCESSING CONFIXX WEB INTERFACE
Enter the confixx web interface by accessing the url like:
http://<confixx-vhost>/admin
STEP 13
REGISTERING YOUR CONFIXX INSTALLATION
Enter the registraion interface by accessing the url like:
http://<confixx-vhost>/reg
or by entering the "Licensing information" menu item in admin interface.
Enter the "Unlock license" menu item there and click "Next".
You need to specify your serial number and activation key there and click
next. The registration routines will be done automatically.