RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Third Party Contributions > API Based Plugins

For more information about the ads and why they're here, please see the FAQ

Reply
  #11  
Old 06-17-2009, 05:44 PM
Super Moderator
 
Join Date: May 2007
Posts: 802
Default

I have never really considered a situation where some one would effectivly want to turn off all spam settings. I guess the problem is that removing prefs from the SQL table does not actually turn off spam filtering, it just sets it back to default. So the effect of doing that would be different on different systems. Puting a straing "on or off" on the interface would be misleading in most setups I think.
__________________
RoundCube Patches & Plugins: Managesieve, SpamAssassin Prefs, and more…
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12  
Old 06-22-2009, 12:43 AM
Registered User
 
Join Date: Mar 2008
Posts: 6
Default

Understandable. Something I can look to mod in myself I guess.

The one issue I see is a user that doesnt have user prefs, when the go to the spam tab, the plugin shows settings, atleast it could be misleading to an end user that doesnt know what to look for, when in fact no spam settings exist in the userprefs table for them.

I guess depending on its application and how its presented to the users could determine a lot. Maybe I will look at adding an enable and disable button that can be turned on or off in the config file i.e. choose to have it in use or not.

Thanks, Patrick

Last edited by patricktech; 06-22-2009 at 05:17 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13  
Old 06-25-2009, 07:12 AM
Super Moderator
 
Join Date: May 2007
Posts: 802
Default

I have added some new options to the code (currently in the repo): In the score drop down a new option at the top called "Default Score". Also if some one has a score which is not in the drop down then a new value is added called "Other ([score])" so that a score is never lost. Then at the bottom of the screen, next to the save button there is a new "Restore Default Settings" button which does excatly what it says on the tin. It has the effect of deleteing all the user's settings since anything which matches the default is not saved to the DB.
__________________
RoundCube Patches & Plugins: Managesieve, SpamAssassin Prefs, and more…
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14  
Old 07-10-2009, 06:29 PM
Registered User
 
Join Date: Oct 2006
Posts: 5
Default

How does one tell SpamAssassin to use these settings? I'll write a step-by-step if someone can point me in the right direction to get mine working.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15  
Old 07-11-2009, 12:25 PM
Super Moderator
 
Join Date: May 2007
Posts: 802
Default

The offical instructions are here UsingSQL - Spamassassin Wiki If you do a search from Spamassassin and MySQL you should find some guides.
__________________
RoundCube Patches & Plugins: Managesieve, SpamAssassin Prefs, and more…
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16  
Old 07-14-2009, 02:41 PM
Registered User
 
Join Date: May 2008
Posts: 35
Default

What modifications do I need to make to this to get it to work with another Template? Such as the MobileMe Template?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17  
Old 07-15-2009, 07:39 PM
Super Moderator
 
Join Date: May 2007
Posts: 802
Default

It depends what version of RC (and the plugin) you have. If its 0.3b then your options are limited, there is a sauserprefs.css file in the plugin folder and you can tweak that to try and match your skin, but that’s about it – unless you want to edit the code in sauserprefs.php

If you are using SVN trunk then there is a skins folder inside the plugin dir, and default inside that – make a copy of this folder and give it the same name as your skin and you can tweak the template files, css and images.
__________________
RoundCube Patches & Plugins: Managesieve, SpamAssassin Prefs, and more…
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18  
Old 07-24-2009, 05:06 AM
Roundcube Newcomer
 
Join Date: Jul 2009
Posts: 6
Default

I am a newbie to managing a dedicated server and to RC, and I'm having a little trouble understanding the configuration settings for this plugin.

I'm using RC 0.3beta and uploaded the sauserprefs folder into the plugins folder. Added the sausesrprefs to the $rcmail_config['plugins'] array.

I have RC's 'users' table which has a 'username' field and a 'preferences' field, but it does not have a 'value' field.
Am I to create a separate table for this?

Thanks in advance
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #19  
Old 07-24-2009, 07:27 AM
Super Moderator
 
Join Date: May 2007
Posts: 802
Default

hi, i think maybe you are looking in the wrong place. you should be putting in the info from your SpamAssassin user prefs table, not the RC users table. UsingSQL - Spamassassin Wiki should get you started on setting up SpamAssassin and MySQL.
__________________
RoundCube Patches & Plugins: Managesieve, SpamAssassin Prefs, and more…
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #20  
Old 07-28-2009, 10:41 PM
Roundcube Newcomer
 
Join Date: Jul 2009
Posts: 6
Default

Thanks for the info. I'll give it try.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


LinkBacks (?)
LinkBack to this Thread: http://www.roundcubeforum.net/7-third-party-contributions/46-api-based-plugins/4879-spamassassin-mysql-plugin.html
Posted By For Type Date
RoundCube Patches & Plugins This thread Refback 06-09-2009 06:41 PM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:23 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2006-2008 RoundCube Webmail Community