Koozali.org: home of the SME Server

tmda-cgi help dungog panel...

David

tmda-cgi help dungog panel...
« on: June 17, 2003, 02:15:43 AM »
how do you setup a user's password for tmda-cgi?  I have read the docs and my screens doesn't look exactly right.  after posting and emailing directly to dungog I thought it would try here.  Any help would be GREATLY appreciated.

thanks!!


except from their forums:
I guess if I had read, I would have found out that you had to force no depedanceies to get it installed.

I have it installed, but I can't seem to get logged in. I've read all about tmda-cgi using three types of authentication processes that are setup when you configure it before you compile. I have reset my password and everything else I know to do to get logged into tmda-cgi to see the pending queue. I get worng password.

I have tried installing tmda-cgi-0.09-1.i386 and tmda-cgi-0.71-1.i386 neither seem to make any difference.

This doesn't work:

TMDA penfing queue

I don't see a place in hte userpanel to change the password.

A new feature since tmda-0.71 is a cgi that give access to your pending queue at yourserver.net/tmda Previous versions of dungog-emailfiltering used the user-panel to do a similar thing but a change in tmda-pending forced a change to this method. The user can create a tmda password via the userpanel

I get "can't open directory /etc/e-smith/events/conf-tmda-pwd"
or admin can create one with
/sbin/e-smith/signal-event conf-tmda-pwd username tmdapwd
or for users without one, set their tmda password to their 'Last Name' as set in the user accounts panel
/sbin/e-smith/signal-event conf-tmda-pwd-global'
it's not very secure, but the option is yours if you wish.

My Single user setup for email management doesn't look like this one:
http://www.dungog.net/sme/help/smehelp/panels/tmda%20email%20filtering.html

mine has confim addres at the top, user created emda lists, user defined tmda rules, manage pendingqueue. I did have one that said servername/tmda, but if have uninstalled and reinstalled rpms so many times, i'm not sure which one it was.

what rpm is needed for the screen to look like this so that I can set my tmda password?


http://www.dungog.net/phpBB2/viewtopic.php?t=18

Tom H.

Re: tmda-cgi help dungog panel...
« Reply #1 on: June 17, 2003, 04:51:47 AM »
"My Single user setup for email management doesn't look like this one:
http://www.dungog.net/sme/help/smehelp/panels/tmda%20email%20filtering.html "



Thats cause you need to purchase the EMail management rpm.  I bought it, and it works great!!!..  a worthwhile investment.

Tom H.

Re: tmda-cgi help dungog panel...
« Reply #2 on: June 17, 2003, 05:29:01 AM »
try this from console

/usr/bin/htpasswd -cb /etc/e-smith/templates/etc/tmda-cgi/$user $user tmdapwd
/sbin/e-smith/expand-template /etc/tmda-cgi

this works.  But that panel is full of errors once you login....

David

Re: tmda-cgi help dungog panel...
« Reply #3 on: June 17, 2003, 05:10:08 PM »
I purchased it as well.  

I did try this: /usr/bin/htpasswd -cb /etc/e-smith/templates/etc/tmda-cgi/$user $user tmdapwd

as it was found in some documentation on tmda-cgi's site.  however i did not specify the second path which may have been why I got an error.  I'll let you know what happens.  thanks for the help.

David

Re: tmda-cgi help dungog panel...
« Reply #4 on: June 17, 2003, 05:42:04 PM »
Which version of the email filtering did you use?  I tried both:

dungog-emailfiltering-0.1-19.noarch.rpm and dungog-emailfiltering-0.2-2.noarch.rpm

Neither produced the expected screen that allows you to change the password.

David

Re: tmda-cgi help dungog panel...
« Reply #5 on: June 17, 2003, 08:15:02 PM »
ok this worked:

/usr/bin/htpasswd -cb /etc/e-smith/templates/etc/tmda-cgi/$user $user tmdapwd
/sbin/e-smith/expand-template /etc/tmda-cgi

I'm not sure as to what you mean by the templates have errors; however they look nothing like the screen grabs here: http://tmda.net/tmda-cgi/screenshots/pending.png

here is what I have done in the order I did them:
5.6 install
upgrade 4

devinfo-mitel-update-system-0.0.1-14.noarch.rpm

perl-unicode-string-2.06-1.i386 (needed for dungog user panel)
per-unicode-imapUtf7-1.02-1.i386 (needed for dungog user panel)
e-smith-userpanel-1.0-11.noarch

Purchased email filter from dungog:
dungogo-emailfiltering-0.2-2.noarch

tmda-0.71-1.noarch
tmda-cgi-0.71-1.i386 (force no dependancies)

My panel doesn't look like the one I linked to in the previous post.  Your commands from the console worked, but that's rather annoying to have to for every new user.  I would like to be able to have the users create their own passwords.

Next I tried installing the tmda-0.78-1.noarch  

Once I logged in after this I got a lot of python errors.  this may be what you were refering to above.

Do you mind taking a look at what rpms you have installed and let me know if you have something different that what I have tried?

thanks again for all your help!

Tom H.

Re: tmda-cgi help dungog panel...
« Reply #6 on: June 17, 2003, 08:59:27 PM »
no, thats pretty much what I did.  The python errors were exactly what I got.  It is rather annoying to do that with every user I agree, but I am clueless how to get around it, or around the python errors.....

We need a bigger gun to help us with this.

David

Re: tmda-cgi help dungog panel...
« Reply #7 on: June 17, 2003, 09:13:53 PM »
I got around the python errors by loading tmda-71 and tmda-cgi-71  you have to force them if you already installed tmda-cgi-78.  I can at least see what's in the queue now, but it just doesn't look pretty.

I have NO idea why he would release a screen grab where you can set the tmda-cgi password, but none of the files on his site where it's purchased are the files that are needed to get it took like it.

http://www.dungog.net/sme/help/smehelp/panels/tmda%20email%20filtering.html

Worse yet, after the purchase there is no response from support@dungog.net.  Maybe he is on vacation?  

thanks for you help.  Does anyone else have any more ideas?

Tom H.

Re: tmda-cgi help dungog panel...
« Reply #8 on: June 17, 2003, 09:56:13 PM »
Ok....got it fixed.  first install the newer python libraries here
http://lordsfam.net/downloads/production/python/

install the latest tmda, that is the tmda-0.78-1.noarch.rpm and tmda-cgi-0.09-1.i386.rpm

this worked perfectly.  It is a really good addon btw.

David

Re: tmda-cgi help dungog panel...
« Reply #9 on: June 17, 2003, 10:13:23 PM »
did you get failed dependencies: libdb-3.2.so when you tried to load python2-2.2.2-1??

I'm running SME 5.6u4.

Tom H.

Re: tmda-cgi help dungog panel...
« Reply #10 on: June 17, 2003, 10:26:44 PM »
no i did not get that? did you download every file in that directory?  every one needs to be installed

David

Re: tmda-cgi help dungog panel...
« Reply #11 on: June 17, 2003, 11:26:59 PM »
I downloaded all three of them.  two of them have a depenency on python2-2.2-1 and that one has a dependency on libdb-3.2.so.

the python site says that you have to create your own rpms taylored to your install.

David

Re: tmda-cgi help dungog panel...
« Reply #12 on: June 18, 2003, 12:24:55 AM »
I think we are facing two different problems.  I got python 2-2.2-2.1 installed, but only after installing db3x-3.2.9-4.i386 which is what it was complaining about when I orginially tried to install python.

I then installed tmda78 and tmda-cgi 09.

I still get python scripting errors when I go to servername/tmda.  The first error is when it tries to set the variable PVars to a value from the session object.  

I'm totally at a loss...

David

Re: tmda-cgi help dungog panel...
« Reply #13 on: June 18, 2003, 12:31:48 AM »
doh... my bad...

I installed tmda-cgi-0.71

I just forced/no depend. installed .09 and now tmda-cgi is working like it's supposed to.  

thanks for all your help.


I wonder if anyone has any idea to how to make it so when a user changes his/her password it changes the tmda password as well?