Roundcube Community Forum

 

SpamAssassin MySQL Plugin

Started by JohnDoh, May 29, 2009, 08:41:46 AM

Previous topic - Next topic

JohnDoh

You are using the wrong version of the plugin for your version of RC.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

LMSSML

Hi there,


It's happenning with firefox and Internet explorer and safari.

By the way the version of round cube is 0.4

and the version of spam plugin it was downloaded from GitHub.


Any advice ?

Thanks

JohnDoh

Well I loaded the 0.4b version of the plugin into the 0.4s version of RC and I got a screen that looks just like the one you posted so I think may be somethingn somewhere has got in a twist. I suggest you delete the sauserprefs folder from your installation, and then goto the repo and make sure you download the copy from the correct branch, or use the zip file for 0.4s on the website. DO NOT use the master branch as it says on the website and in the CHANGELOG thats for the SVN-Trunk version of RC. Finally make sure you have cleared your browsers cache.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

LMSSML

HI there,


It disappeard the problem with version 0.3 stable from this site:

JohnDoh's RoundCube-Plugin-SpamAssassin-User-Prefs-SQL at 0.3-stable - GitHub

Has John know .

THe problem here is that I got an error saving the settings for the spam.

See attach

JohnDoh

Hi, I'm sorry if you are not going to answer my questions or take any notice of what I say then I cannot help you. That error most likely means there is a mistake in your config. There should be more info in the RC error log [rc root]/logs/errors. I hope you get it working.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

chilek

JohnDoh: I haven't found your contact details anywhere, though I write here: I've fixed polish localisation of sasuserprefs plugin. How could I send it to you? Bests, Tomasz.

dziobak


LMSSML

HI John

Sorry if I couldn't express the best way but what I mean with this it's when I put the version 0.3 it works without problem if I use the version of 0.4 the problem persists.

Althout I've checked the log that you were saying and no problems appears meanwhile I made a debug on rc log pass it to 8 and error log stays on the same without any problem.

 Thanks

LMSSML

HI John

I was using 0.4 beta on RC and I upgraded to 04. stable version .


Ok the version 0.3 does not work and it was has the first post I post, dealined.

So I upgraded to 0.4 stable and put the plugin in the version of 0.4 spamuserprefs, and it went good.

No problem except two little things:

First droped the table on database and created new one like this:

CREATE TABLE IF NOT EXISTS `userpref` (
  `username` varchar(100) NOT NULL DEFAULT '',
  `preference` varchar(50) NOT NULL DEFAULT '',
  `value` varchar(100) NOT NULL DEFAULT '',
  `prefid` int(11) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`prefid`),
  KEY `username` (`username`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;


Two things won't work:

If I click on General Settings it takes too long and it doesn't show anything, also the same behavior to Bayes Settings.


Althout I could not save anything same error reported in the last post.

Any help ?


Thanks

Pretenderr

to be deleted, wrong button. sorry

Pretenderr

hello,

do I understand correctly that this plugin will not work on shared web hosting? even if spamassassin is installed by webhoster?

regards
david

JohnDoh

if you have read/write access to the database that stores your prefs then you can, if not then no.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

nkoz

Hi , are there any thoughts of also supporting ldap for spamassassin user preferences ?

JohnDoh

i dont really know anything about LDAP so I wouldn't really know where to start to do that :/
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

nkoz

Thanx for your reply ... Me on the other hand know nothing on ajax/javascript :(