Hi All,

I found a documantation for TMDA (http://tmda.net/) and
tmda-cgi (tmda-cgi is a web interface to a user's
tmda setup, http://tmda.net/tmda-cgi/)
(I lost the link). It work well on shupp-toaster.
It is a great work,
I want to share the installation given below.

-----installing TMDA----------------------------------------

TMDA is a python program, and runs from its source directory.
Unpack the tgz file into /usr/local/lib like this:

cd /usr/local
wget http://tmda.net/releases/stable/tmda-1.0.2.tgz
tar xzf tmda-1.0.2.tgz
ln -s tmda-1.0.2 tmda
rm tmda-1.0.2.tgz
cd tmda
./compileall

-----installing tmda-cgi-----------------------------------
tmda-cgi is a web interface to a user's tmda
setup.  It allows any user to install and configure
tmda support onto their account.

cd /usr/local
wget http://tmda.net/tmda-cgi/releases/tmda-cgi-0.13.tar.bz2
tar jxf tmda-cgi-0.13.tar.bz2
ln -s tmda-cgi-0.13 tmda-cgi
cd tmda-cgi
./configure

Answers for configure were:
/usr/bin/python
/var/www/cgi-bin
../tmda
/usr/local/tmda-cgi/
none
program
/home/vpopmail/bin/vchkpw
/tmda-display
single-user
vpopmail1 /home/vpopmail/bin/vuserinfo ~
/tmp/TMDASession.
300
0.01

Then continue with the install:

make
make install

If you change any of the config paramters, you must re-make and
re-install the cgi program.

Copy the display directory from the sources over into /var/www/html/

cp -r display /var/www/html/tmda-display

Change the user and group of the tmda.cgi cgi, and set the suid bit:

chown vpopmail /var/www/cgi-bin/tmda.cgi
chgrp vchkpw /var/www/cgi-bin/tmda.cgi
chmod u+s /var/www/cgi-bin/tmda.cgi
chmod g+s /var/www/cgi-bin/tmda.cgi

Test it: http://localhost/cgi-bin/tmda.cgi

-------------------------END-----------------------------


Y.C

Reply via email to