Koozali.org: home of the SME Server

collaboration for spamassassin page for SME?

Offline compdoc

  • *
  • 226
  • +0/-0
collaboration for spamassassin page for SME?
« on: June 30, 2008, 10:02:14 PM »
I have written code to change spamassassin settings. Things like the enabling the auto-learn form of Bayes, (and its various settings) or enabling DCC, or even basic stuff like changing the RBL & SBL servers. Stuff that has to be done by hand, atm.

Coding it took a few weeks, but the HTML (or whatever is used for SME) would take me longer to learn than I want to invest the time in.

Anyone up for helping in putting together a contrib? Anyone out there who knows the webpage part already?

I can provide maybe some basic sketches of the necessary layouts, or just tell you what needs to be layed out.


Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: collaboration for spamassassin page for SME?
« Reply #1 on: June 30, 2008, 10:11:23 PM »
Hi

I think that the best way to get help and collaboration is to write on the bugzilla.. as far as I know there is already a contrib (currently in beta but stable enough) by Darrell May.. maybe your code could be integrated..

HTH
Ciao

Stefano

Offline compdoc

  • *
  • 226
  • +0/-0
Re: collaboration for spamassassin page for SME?
« Reply #2 on: July 01, 2008, 05:28:44 PM »
where can I find his contrib?


Offline compdoc

  • *
  • 226
  • +0/-0
Re: collaboration for spamassassin page for SME?
« Reply #4 on: July 01, 2008, 06:19:04 PM »
Nice contrib, but it does only one thing, and that's a tiny part of what can be done with spamassassin.

It doesnt read the black/white list I'm already using, however. Means he's using some other method...
« Last Edit: July 01, 2008, 08:32:42 PM by compdoc »

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: collaboration for spamassassin page for SME?
« Reply #5 on: July 01, 2008, 06:50:56 PM »
compdoc,

There are a couple others also:

http://wiki.contribs.org/Learn is very new.

Brian did some of the original work with his LearnAsSpam script. It's location is referenced here:

http://wiki.contribs.org/Email#The_entire_Sonoracomm_howto_from_Google.27s_text_cache

also Sonoracom's work that references several tools here:
http://www.sonoracomm.com/index.php?option=com_content&task=view&id=49&Itemid=32

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: collaboration for spamassassin page for SME?
« Reply #6 on: July 01, 2008, 06:52:21 PM »
I think if we could get all the contributors on this topic in the same room/on the same project, we could turn out a tremendous solution :smile:

Offline compdoc

  • *
  • 226
  • +0/-0
Re: collaboration for spamassassin page for SME?
« Reply #7 on: July 07, 2008, 02:50:59 PM »
What I want to be able to do is fine tune spamassassin, since a few of its abilities are disabled by default in this distro.

All the code to do these things is written, it just needs a webpage, and packaged in an rpm.

The webpage needs to do these few things:

enable/disable Bayes (a local database of spam your server sees)
enable/disable DCC (a public database of spam to compare with)
enable/disable DNSBL, and be able to set the servers used
enable/disable RHSBL, and be able to set the servers used (the default servers dont work that well)

These are easy to impliment, and effective, and require only minor changes to a SME server.

Someone really motivated might want to help add a page for the white/black list, but the code to do that would have to be written. Shouldnt be too hard - just need to parse a few commands...


Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: collaboration for spamassassin page for SME?
« Reply #8 on: July 07, 2008, 06:57:54 PM »
What I want to be able to do is fine tune spamassassin, since a few of its abilities are disabled by default in this distro.

All the code to do these things is written, it just needs a webpage, and packaged in an rpm.

The webpage needs to do these few things:

enable/disable Bayes (a local database of spam your server sees)
enable/disable DCC (a public database of spam to compare with)
enable/disable DNSBL, and be able to set the servers used
enable/disable RHSBL, and be able to set the servers used (the default servers dont work that well)

These are easy to impliment, and effective, and require only minor changes to a SME server.

Someone really motivated might want to help add a page for the white/black list, but the code to do that would have to be written. Shouldnt be too hard - just need to parse a few commands...


The design philospophy is to keep the server-manager simple, all setting can be easily set under the bonnet from the command line. This has been described in several (excellent) howto's. I see no use in implementing them in the server-manager panels, especially as most of them are one time changes only.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline compdoc

  • *
  • 226
  • +0/-0
Re: collaboration for spamassassin page for SME?
« Reply #9 on: July 07, 2008, 07:03:18 PM »
Guess you feel theres no use in any contrib then?


Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: collaboration for spamassassin page for SME?
« Reply #10 on: July 07, 2008, 08:42:30 PM »
Guess you feel theres no use in any contrib then?


No, but I see no need in bringing stuff to the server-manager that is already available otherwise. Since those changes are made rarely and are properly documented in instructions on how to implement them I see no need to code them into the server-manager, as this means a lot more effort needs to go in coding them and maintaining them and the resources of the dev team are severely limited as is to keep the core up-to-date and development running.

Contribs can bring minor or major modifications/functions to a system. I certainly see a use for contribs to implement additional functionality. Only extending server-manager with one-time-use-only/rarely used items seems not such a good idea to me as this will clog up and make useful functions (even) harder to find.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline compdoc

  • *
  • 226
  • +0/-0
Re: collaboration for spamassassin page for SME?
« Reply #11 on: July 07, 2008, 11:59:13 PM »
That doesnt make any sense to me. Everything in the server-manager can be done by command line, so why have a gui?

Most contribs add some page or function to SME. If you're saying the dev team has to code for, and maintain every contrib, and this causes them additional work and eats up their resources, I'd like know more about this. Where do you get this information? Maybe no one should be adding contribs...

I used the command line to enable and learn about these functions. I even wrote a shell program to do these functions. It is not easier nor somehow better doing it this way. It's just not.

Not everyone using SME even know these functions exist, or how to research them. Many dont have the time. Others could do it, but might not get it right and screw up their server.

This would allow them to use these tools to fight spam immediately. I dont see what your problem is with that.

Offline compdoc

  • *
  • 226
  • +0/-0
Re: collaboration for spamassassin page for SME?
« Reply #12 on: July 08, 2008, 12:40:05 AM »
Btw, these functions are well documented, as you say. And I have them running on several production servers, including my own. I would say they're stable and not causing the SME community harm.

Unfortunately, spamassassin version updates tend to break Bayes and adds an improper file to /etc/e-smith/templates/etc/mail/spamassassin/local.cf

And RBL servers come and go, or change names occasionally. I've been using SME for many years and I would say this is not quite one-time-use stuff. So much so, that I log on weekly to several servers to check on the spamd logs.

Offline compdoc

  • *
  • 226
  • +0/-0
Re: collaboration for spamassassin page for SME?
« Reply #13 on: August 25, 2008, 12:09:38 AM »
I need someone to create a page that looks something like this:


(click on the image again at imageshack.us if you dont see it full sized)

Might be some small changes along the way, but it would be nice to get it to this point.

Most of the code to do all the actions shown in the pic is done, and its written in shell script. So we just need to integrate it into the page. I'd like to help with that.

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Re: collaboration for spamassassin page for SME?
« Reply #14 on: August 25, 2008, 01:28:25 AM »
I already have a page like that from Dungog, it's a commercial contrib, it should be nice to have a free one ;)