Roundcube Community Forum

 

Sieverules (managesieve) plugin

Started by zoc, May 09, 2009, 05:35:25 AM

Previous topic - Next topic

JohnDoh

If the plugin is working, reading and writing rules then it sounds like a problem in your dovecot config. I think you might be better off talking to the dovecot guys they probably be able to tell you whats wrong quicker.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

fritz001

I have a working installation of Qmail+dovecot 1.2.10+sieve plugin+manage sieve, and everything is working fine so far.

zelegolas

Quote from: JohnDoh;25648If the plugin is working, reading and writing rules then it sounds like a problem in your dovecot config. I think you might be better off talking to the dovecot guys they probably be able to tell you whats wrong quicker.

ok thanks JohnDoh
I will check with them

PetePann

Hello,

Appears all is working well with the Sieverules plugin except I can not for the life of me figure out how to add a :from "address" to a Vacation rule.

The front end UI displays Aliases, Days, Subject, etc... for Vacation rule creation, however, it doesn't display an option to select a From address.

It appears the code is written in rcube_sieve_script.php and sieverules.php to support the submission and creation of a :from address, however, I just don't see the option in the UI for adding one.

Any thoughts ?!?

PetePann

Quote from: PetePann;25786...
I can not for the life of me figure out how to add a :from "address" to a Vacation rule.
...

FWIW, changing line 1590 in sieverules.php from:
$vacs_table->set_row_attribs(array('class' => 'disabled', 'style' => 'display: none'));

to:
$vacs_table->set_row_attribs(array('class' => 'advanced', 'style' => $vacadvstyle));

appears to do the trick.

JohnDoh

yep that sounds about right, its a little lower down in the latest version. its disabled by default coz not all servers support it and there is no way to detect if they do or not. just out of interest what imap server are you using?
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

PetePann

Quote from: JohnDoh;25793just out of interest what imap server are you using?


  Using Dovecot.  And thanks for your contributions to the SieveRules plugin ... makes mail administrators and their users quite happy :)

mstar

HI Folks,

I always get logged out after klicking the first time on the filter tab. This is what I found in logfile of apache:
--

01 12:32:54 2010] [error] [client 192.168.64.1] PHP Warning:  array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #1 is not an array in /workdir/confspace/webmail/program/include/session.inc on line 82

--

What can I do against this - I want to use your perfect plugin!

Cheers

mstar

Hi,

found by myself: :-)))

rcube_sess_serialize(array_merge((array)$a_oldvars, (array)rcube_sess_unserialize($vars)))


Please file a bug for me and change this. Here the info from php:

PHP: array_merge - Manual

Thanks & Regards

mstar

Hi,

I have tested sieverules with IE8 and Firefox and I have several problems. Please view the attached pictures.

When I add a filter and click on save the filter is not displayed in the left panel. When I delete a filter, the entire screen is displayed in the right box. It's slightly better in Mozilla but also there not perfect. Specially the filter panel on the left side is often not updated correctly. do we have a apache or php problem?! Has anybody an idea how to solve this?!

Thanks & Regards,

mstar

JohnDoh

mstar: the issue with the session has been dicussed before, see here for the solution http://www.roundcubeforum.net/7-third-party-contributions/46-api-based-plugins/4878-sieverules-plugin-15.html#post24784. about the display, may be its casued by the errors, or could there be a caching problem (did you have a previous version of the plugin installed?) what version of rc are you using? what version of the plugin? and what version of php? I can see from the screenshots that there are some JS errors, could you tell us what they are please?
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

mstar

Hi,
this is the message:

 'null' is Null or no Objekt  sieverules.js?s=1267551002, line 679 char 4

Thanks :)

zelegolas

Quote from: JohnDoh;25648If the plugin is working, reading and writing rules then it sounds like a problem in your dovecot config. I think you might be better off talking to the dovecot guys they probably be able to tell you whats wrong quicker.

It's working now.
For that I had to configure Sieverules plugin, Dovecot and Postfix and it was not obvious at all :(

dtchky

Quote from: zelegolas;25975It's working now.
For that I had to configure Sieverules plugin, Dovecot and Postfix and it was not obvious at all :(

I don't suppose you care to tell us what you did to correct this at all?

I have the same problem.

jdrachenfels

Hi,

I have installed the plugin directly from github:
---
author PhilW
 Tue, 6 Apr 2010 07:28:57 +0000 (08:28 +0100)
committer PhilW
 Tue, 6 Apr 2010 07:28:57 +0000 (08:28 +0100)
---

but now I receive an error:

[07-Apr-2010 18:22:02] PHP Fatal error:  Call to a member function connect() on a non-object in /workdir/confspace/webmail/program/include/rcmail.php on line 408

whenever I click on "new filter". What did I wrong?!

Thanks & Regards,

Johannes