Koozali.org: home of the SME Server

Sme Server 8 and TMDA

Offline dwalton

  • 20
  • +0/-0
Sme Server 8 and TMDA
« on: November 20, 2013, 03:28:57 PM »
I have been using SME for several years and I think its one of the best products on the market. I have recently upgraded from 7.5 t0 8. I am also a Dungog-Member. I noticed that TMDA is no longer available on the software install for dungog-members. 

I tried installing the TMDA-cgi.rpm from SME 7.5 , however it does not appear on my server-manager panel in email management like it did before.

Is there a work around for this? If not is there another alternative?

Thanks in advance.




Offline Stefano

  • *
  • 10,879
  • +3/-0
Re: Sme Server 8 and TMDA
« Reply #1 on: November 20, 2013, 03:34:04 PM »
as a Dungog member you should ask at Dungog.. we have no control/idea on what's going on :-)

I would add that if SME 7.5 rpm doesn't work on SME 8.X there's nothing we can do, as we don't have access to source code

Offline dwalton

  • 20
  • +0/-0
Re: Sme Server 8 and TMDA
« Reply #2 on: November 21, 2013, 12:42:50 AM »
So it would be the tmda developers who would have to code it for Centos 5.6? Or is it that other way around? Or maybe non of the above?

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Sme Server 8 and TMDA
« Reply #3 on: November 21, 2013, 10:24:10 AM »
dwalton

Not seeing a server manager panel does not mean the tmda rpm will not install/run on sme8.
Most/many el4 rpms run on el5 systems OK.
You would have to configure settings using command line & tweak appropriate conf files & so on.

Typically a publicly available package (eg tmda) is utilised by Dungog, who then write a smeserver-tmda rpm that integrates tmda with sme server, & also a tmda-dungog rpm that adds a server manager panel etc. The first two are free but you have to pay to get the tmda-dungog rpm.
If Dungog are no longer supporting it, then it is most likely that no one else will be writing code that adds a server manager panel.

It could also be that tmda is no longer compatible or no longer required in sme8, as there are better ways of doing things in sme8 that tmda used to do in sme7 ???
The pkg notes for tmda-cgi (from 2006) say it is software to reduce spam in mail, and sme 8 has many features that do that very well.
I think you need to install both tmda & tmda-cgi rpms, after looking in my archives.

You really should ask what the status is via http://www.dungog.net/wiki/Contact
« Last Edit: November 21, 2013, 10:30:08 AM by janet »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline dwalton

  • 20
  • +0/-0
Re: Sme Server 8 and TMDA
« Reply #4 on: November 22, 2013, 02:19:50 AM »
Well thank you for the very detailed answer. I can only find  tmda-cgi-0.13-4.noarch.rpm. I don't know that it is installing. I can only find one file referencing tmda. /user/share/tmda and there are only .txt files there.

Tried tmda-1.1.12-1.el5.noarch.rpm: does not update installed package.

Let me ad that I am running SME 7.5.1 side by side with SME 8. So I can see that there are several other locations with tmda on my 7.5 server.

So in conclusion I am not sure if just don't have the correct file or there is just not one available to try.

Thanks again for your assistance.
« Last Edit: November 22, 2013, 02:45:13 AM by dwalton »

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Sme Server 8 and TMDA
« Reply #5 on: November 22, 2013, 04:32:09 AM »
dwalton

Quote
I can only find  tmda-cgi-0.13-4.noarch.rpm. I don't know that it is installing

What does "I can only find" mean ? Find on a download site, find on your server, or ... ???

You need to be more diagnostic & specific.
To check what is installed, on the sme 8 server what is the output of
rpm -q tmda
rpm -q tmda-cgi

Quote
Tried tmda-1.1.12-1.el5.noarch.rpm: does not update installed package.

Again, what does "tried" mean?
When do you get the message "does not update installed package"  (assuming that is what it is).
If it means tried installing, then what command did you use (exactly).

Quote
Let me ad that I am running SME 7.5.1 side by side with SME 8. So I can see that there are several other locations with tmda on my 7.5 server.

We are investigating what is happening with your sme 8 server, is that right ?
So why are you searching the sme 7.x server.

In my archives for sme7 from Oct 2006, I have 2 files
tmda-1.0.3-2.noarch.rpm
and
tmda-cgi-0.13-4.noarch.rpm

I do not remember as it's so long ago, but I guess tmda is the program & tmda-cgi is the cgi web interface (???)
The following link gives some clues

You are probably better off starting from scratch (with current packages if they exist), search here
https://www.google.com.au/search?q=what+is+tmda&ie=utf-8&oe=utf-8&rls=org.mozilla:en-US:official&client=firefox-a&gfe_rd=ctrl&ei=jc-OUvenBOrC8gfvvYHYDw&gws_rd=cr
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline dwalton

  • 20
  • +0/-0
Re: Sme Server 8 and TMDA
« Reply #6 on: November 22, 2013, 04:53:15 PM »
Janet,

Here is the out put of the commands you asked me to run.

[root@oemweb share]# rpm -q tmda
tmda-1.1.12-1.el5
[root@oemweb share]# rpm -q tmda-cgi
tmda-cgi-0.13-4

I am simply comparing where the tmda files or folders are located on SME 7.5 vs SME 8

On SME 8 If I search for tmda I get  /usr/share/tmda (agian they are only txt files)

ON SME 8 If I search .tmda I get /usr/lib/python2.3/site packages/tmdcpi/ske1/install/.tmda


On SME 7.5 If I search for tmda I get  /usr/share/tmda (This also contains only .txt files)

On SME 7.5  If I search .tmda I get /home/e-smith/files/users/xxxxxxx/.tmda
                                         I get/usr/lib/python2.3/site packages/tmdcpi/ske1/install/.tmda 
                                         I get /etc/e-smith/templates/usr/li~kages/tmda-cgi/ske1/install/.tmda


I suspect on SME 8 it IS NOT showing /home/e-smith/files/users/xxxxxxx/.tmda because the users TMDA is not activated?

So maybe the files I need are there but maybe I haven't figured out how to activate tmda. On SME 7.5 it is in me email-managemnet under dungog on the server-manager.

Is it possible I need to turn on a switch?

Also I found this but I couldn't figure out how to run this.

Python Problems

TMDA requires Python version 2.1 but some flavors of Linux (such as RedHat) come with two different versions of Python installed, one older and one newer.

If tmda-cgi tries to run using the wrong version of Python, then you must specify the correct version at compile time. Instead of typing:

    # ./configure <options>

Type:

    # /usr/bin/python2 configure <options>

(Assuming that your Python 2.1+ can be found at /usr/bin/python2.) The compiler will save the correct version of the Python interpreter and use it when tmda-cgi is run.

And to answer to your questions.

1. What does "I can only find" mean ? Find on a download site, find on your server, or ... ??? On a download site)

2. If it means tried installing, then what command did you use (exactly). rpm -Uhv tmda-1.1.12-1.el5.noarch.rpm (although after running rpm -q tmda I assume it installed)





Thank you again.

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Sme Server 8 and TMDA
« Reply #7 on: November 23, 2013, 01:02:29 AM »
dwalton

Yes it appears the two rpm's are installed, that is why you got the error when you tried to reinstall.

Quote
So maybe the files I need are there but maybe I haven't figured out how to activate tmda. On SME 7.5 it is in me email-managemnet under dungog on the server-manager.

All that sounds correct.
Did you look elsewhere in server manager, sometimes old packages will appear under a generic "unknown" category, assuming you also installed the dungog rpm.

Otherwise start reading & learn how to use tmda via command line.
SME server is essentially Linux, so other standard Linux software can usually be made to operate.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline dwalton

  • 20
  • +0/-0
Re: Sme Server 8 and TMDA
« Reply #8 on: November 23, 2013, 05:02:28 PM »
I agree it appears to be installed. Shouldnt it appear in my server-manger. If not I cant figure out how to configure it. I also installed AWstats and it doesn't appear on my server-manger. With 7.5 awstats would appear on user panel. Maybe I am missing something?

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Sme Server 8 and TMDA
« Reply #9 on: November 23, 2013, 05:20:41 PM »
dwalton

As advised previously:
Did you look elsewhere in server manager, sometimes old packages will appear under a generic "unknown" category (or similar name), assuming you also installed the dungog (tmda) rpm. There is a command you can run to "fix" this.

If you have not installed the dungog-tmda rpm (or similar name) then you will NOT have a server manager panel for tmda.
If you have installed tmda-dungog then maybe the rpm is not compatible with SME 8.
The ONLY person to ask is at dungog.net.

I am not able to help you further with tmda, you will have to work it out for yourself.

As far as reducing email spam is concerned, have you enabled RBL's ?
See
http://wiki.contribs.org/SME_Server:Documentation:FAQ:Section04#Real-time_Blackhole_List_.28RBL.29

You do not need tmda in my opinion.

Quote
With 7.5 awstats would appear on user panel. Maybe I am missing something?

If you really are referring to user (manager) panel (& the user manager contrib which installs the user manager panel), then you need to configure who has access to which panels first, which is done in server manager by the admin.
« Last Edit: November 23, 2013, 05:29:38 PM by janet »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline dwalton

  • 20
  • +0/-0
Re: Sme Server 8 and TMDA
« Reply #10 on: November 24, 2013, 04:29:25 AM »

Janet

I cant thank you enough for all your help. I actually found my dungog-tmda and loaded it and it worked. Toady is a good day for me. You have no idea!
« Last Edit: November 24, 2013, 04:57:35 AM by dwalton »

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Sme Server 8 and TMDA
« Reply #11 on: November 24, 2013, 05:55:43 AM »
dwalton

Quote
I actually found my dungog-tmda and loaded it and it worked

Your attitude or approach puzzles me. I advised you 3 days ago that you needed the tmda-dungog rpm, & only now you decide to find it & install it. Why so slow ?
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline dwalton

  • 20
  • +0/-0
Re: Sme Server 8 and TMDA
« Reply #12 on: November 26, 2013, 04:20:02 AM »
Well I have been working on the issue for days. Even after I loaded the dungog-tmda I was getting errors on the domain.com/tmda page. I started form scratch and finally go it. Had some problems getting python2.3 loaded for TMDA but its all good and working now. Thank you again for your help.