RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Third Party Contributions > Old Style Plug-Ins

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

Reply
  #41  
Old 01-19-2009, 12:19 PM
Registered User
 
Join Date: Dec 2008
Posts: 16
Default Clarification

For clarification, here is the rfc:

RFC 5230 - Sieve Email Filtering: Vacation Extension
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #42  
Old 01-21-2009, 07:00 PM
Registered User
 
Join Date: Oct 2007
Location: Germany, Schleswig-Holstein, Wielen
Posts: 3
Default Problem with TLS

With this config all is ok. I can see the rules and add rules.
Code:
$sieverules_config['managesieve_host'] = 'ssl.foo.de';
$sieverules_config['managesieve_port'] = 2000;
$sieverules_config['usetls'] = false;
$sieverules_config['folder_delimiter'] = null;
$sieverules_config['include_imap_root'] = FALSE;
$sieverules_config['ruleset_name'] = 'roundcube';
$sieverules_config['multiple_actions'] = TRUE;
If I change the conf to
Code:
$sieverules_config['usetls'] = true;
I see no rules. No error. I can create a rule which will be saved with an ok, but the rules list stays empty.

If I switch back to non-TLS the new rule appears.

The server is an dovecot 1.1.8 with build-in ManageSieve. I tested the managesieve port with telnet and with gnutls-cli --starttls -p 2000 ssl.foo.de.
It behave the same with non-TLS and TLS.

Mike
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #43  
Old 01-22-2009, 07:22 AM
Super Moderator
 
Join Date: May 2007
Posts: 802
Default

This is a bug in the PEAR::Net_Sieve class (see PEAR :: Bug #14205 :: fetch the CAPABILITY string send after STARTTLS). There is a patch which fixes it so I will apply that in the next release.
__________________
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
  #44  
Old 01-22-2009, 01:57 PM
Registered User
 
Join Date: Jan 2009
Posts: 6
Default

JohnDoh, did you have any further suggestions for the SetFlag issue?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #45  
Old 01-22-2009, 03:01 PM
Super Moderator
 
Join Date: May 2007
Posts: 802
Default

oscar: please check your private messages.
__________________
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
  #46  
Old 01-27-2009, 04:01 AM
Registered User
 
Join Date: Jan 2009
Posts: 3
Default trouble applying patch

I am using roundcube v0.2 stable and I'm unable to apply the patch sieverules.BETA.r2240.patch.

When I try to apply the patch I get the following:

Quote:
[root@mail ~]# patch -ul -d /usr/local/www/roundcube/ -p1 < sieverules.BETA.r2240.patch
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -Naur --exclude='*.svn*' roundcube_svn/index.php roundcube_pub/index.php
|--- roundcube_svn/index.php 2009-01-18 11:24:41.000000000 +0000
|+++ roundcube_pub/index.php 2009-01-18 18:46:19.000000000 +0000
--------------------------
Patching file index.php using Plan A...
Hunk #1 succeeded at 193.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -Naur --exclude='*.svn*' roundcube_svn/plugins/sieverules/add.png roundcube_pub/plugins/sieverules/add.png
|--- roundcube_svn/plugins/sieverules/add.png 1970-01-01 01:00:00.000000000 +0100
|+++ roundcube_pub/plugins/sieverules/add.png 2009-01-18 18:46:18.000000000 +0000
--------------------------
Patching file plugins/sieverules/add.png using Plan A...
patch: **** malformed patch at line 19: diff -Naur --exclude='*.svn*' roundcube/plugins/sieverules/config.inc.php roundcube_pub/plugins/sieverules/config.inc.php
Any tips?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #47  
Old 01-27-2009, 08:25 AM
Super Moderator
 
Join Date: May 2007
Posts: 802
Default

a couple of things. first it looks like the patch may have been altered since you downloaded it from my site, there is no line `diff -Naur --exclude='*.svn*' roundcube/plugins/sieverules/config.inc.php` in my version it is `diff -Naur --exclude='*.svn*' roundcube_svn/plugins/sieverules/config.inc.php`

second if you are patching 0.2stable, the version from the RC website (not the SVN) then this patch will not work. Look in the older versions section and get the one for the release.
__________________
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
  #48  
Old 01-27-2009, 09:31 PM
Registered User
 
Join Date: Jan 2009
Posts: 3
Default

Quote:
Originally Posted by JohnDoh View Post
second if you are patching 0.2stable, the version from the RC website (not the SVN) then this patch will not work. Look in the older versions section and get the one for the release.
ok, I reinstalled roundcube to make sure it was pristine and then tried this patch <roundcubebject name="pagetitle" /> but I get a similar error.

Is there any more info I can give you toward finding the right patch for the right version?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #49  
Old 01-28-2009, 02:04 PM
Super Moderator
 
Join Date: May 2007
Posts: 802
Default

I'm sorry you are having problems but i have run the patches again without problems. I know other people havent had problems either. The best thing i can suggest if the patches dont work for you is that you apply them manually (there is an html version of the diff to help with that).
__________________
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
  #50  
Old 01-28-2009, 02:32 PM
Registered User
 
Join Date: Jan 2009
Posts: 3
Default

Quote:
Originally Posted by JohnDoh View Post
I'm sorry you are having problems but i have run the patches again without problems. I know other people havent had problems either. The best thing i can suggest if the patches dont work for you is that you apply them manually (there is an html version of the diff to help with that).
One last try here..

my install directory is /usr/local/www/roundcube. The patch has paths for roundcube_svn and roundcube_pub. Do I need to alter the patch to match my install path? There has got to be some simple reason why I'm having trouble with this patch and not had trouble with others..

I'm running:
patch -ul -d /usr/local/www/roundcube/ -p1 < sieverules.BETA.r2198.patch

It appears to properly create the add.png and then crashes out on the next file in the patch.

Any other guesses?
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/25-old-style-plug-ins/3905-managesieve-patch.html
Posted By For Type Date
[WIKI][Erledigt] Installation Roundcube This thread Refback 10-08-2009 04:45 AM
#1485888 (password and sasl_password register_handler at wrong time) ? RoundCube Webmail This thread Refback 05-31-2009 11:11 AM
[WIKI][Erledigt] Installation Roundcube This thread Refback 03-11-2009 12:03 PM
RoundCube Patches & Plugins This thread Refback 03-11-2009 10:34 AM
[WIKI][Erledigt] Installation Roundcube This thread Refback 02-25-2009 06:56 AM

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