Author Topic: Sieverules (managesieve) plugin  (Read 214533 times)

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,850
Sieverules plugin
« Reply #285 on: January 23, 2011, 09:15:43 AM »
Quote
So, if both default rule exist (global.sieve) and user defined rules, default rule is not load and not applied.

Thats right, sounds like you are talking about global seive rules, not default ones. Take a look here LDA/Sieve/Dovecot - Dovecot Wiki at the sieve_before/after options
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline fritz001

  • Jr. Member
  • **
  • Posts: 22
Sieverules plugin
« Reply #286 on: January 23, 2011, 04:22:30 PM »
Quote from: fritz001;32674
Hello JohnDoh

Finally I've managed to find howto enable folder autocreation if not exists::

require ["fileinto","mailbox"];

# rule:[important]
if anyof (header :contains "From" "postmaster")
{
   fileinto :create "INBOX.admin";
}




Thanks, second problem solved, now about folder autocreation, in order to make this possible I have to enable advance editor and to add by hand require ["fileinto","mailbox"]; and file :create "mailbox_name".

So can you add this as a future feature to sieverules plugin ?

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,850
Sieverules plugin
« Reply #287 on: January 24, 2011, 03:22:20 AM »
At the moment you can only select from folders which already exist so there is no need for the create option. In the future if the possibility to add what ever folder you want is added I will add a create option.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline Pausen

  • Newbie
  • *
  • Posts: 4
Sieverules plugin
« Reply #288 on: January 30, 2011, 06:20:04 AM »
Hi i have a problem with the apereance of the plugins
it looks like the css have an error.
i use roundcube .5 and the lastest siverules plugin

someone know a fix for this

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,850
Sieverules plugin
« Reply #289 on: January 30, 2011, 07:11:50 AM »
have you cleared your browser cache and double checked that all the skin files for the plugin are up to date?
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline Pausen

  • Newbie
  • *
  • Posts: 4
Sieverules plugin
« Reply #290 on: January 30, 2011, 07:25:49 AM »
i tried it with diffrent browsers (firefox,ie) und clear cache jeah but same
an i think the files are all uptodate

installed folders



Code: [Select]

 ls -latr skins
drwxr-xr-x 2 root root 4096  8. Jun 2010  templates
-rw-r--r-- 1 root root  747  8. Jun 2010  rename.png
-rw-r--r-- 1 root root  537  8. Jun 2010  enable.png
-rw-r--r-- 1 root root  568  8. Jun 2010  enablePas.png
drwxr-xr-x 3 root root 4096  8. Jun 2010  ..
-rw-r--r-- 1 root root  279  9. Okt 12:53 up_arrow.png
-rw-r--r-- 1 root root  285  9. Okt 12:53 down_arrow.png
-rw-r--r-- 1 root root  775  9. Okt 12:53 delete.png
-rw-r--r-- 1 root root  752  9. Okt 12:53 deletePas.png
-rw-r--r-- 1 root root  733  9. Okt 12:53 add.png
-rw-r--r-- 1 root root 5123 30. Jan 11:19 sieverules.css
-rwxr--r-- 1 root root  114 30. Jan 11:19 safari.css
-rwxr--r-- 1 root root 1577 30. Jan 11:19 iehacks.css
-rwxr--r-- 1 root root  193 30. Jan 11:19 ie6hacks.css
-rwxr--r-- 1 root root 2361 30. Jan 11:19 icons.png
-rwxr--r-- 1 root root 1584 30. Jan 11:19 icons.gif
-rw-r--r-- 1 root root 1024 30. Jan 11:19 help.gif
drwxr-xr-x 3 root root 4096 30. Jan 11:19 .



Code: [Select]

 ls -latr templates/
insgesamt 28
drwxr-xr-x 2 root root 4096  8. Jun 2010  .
-rw-r--r-- 1 root root 5042 30. Jan 11:19 sieverules.html
-rw-r--r-- 1 root root  814 30. Jan 11:19 setupsieverules.html
-rw-r--r-- 1 root root 1520 30. Jan 11:19 editsieverule.html
-rw-r--r-- 1 root root 2707 30. Jan 11:19 advancededitor.html
drwxr-xr-x 3 root root 4096 30. Jan 11:19 ..




folder from the zipfile.
Code: [Select]

drwxr-xr-x 3 root root 4096 30. Mai 2009  ..
drwxr-xr-x 2 root root 4096  9. Okt 13:28 templates
-rwxr--r-- 1 root root 2361  9. Okt 13:33 icons.png
-rwxr--r-- 1 root root 1584  9. Okt 13:33 icons.gif
-rwxr--r-- 1 root root 1024  9. Okt 13:33 help.gif
-rwxr--r-- 1 root root 5123 12. Jan 22:16 sieverules.css
-rwxr--r-- 1 root root  114 12. Jan 22:16 safari.css
-rwxr--r-- 1 root root 1577 12. Jan 22:16 iehacks.css
-rwxr--r-- 1 root root  193 12. Jan 22:16 ie6hacks.css
drwxr-xr-x 3 root root 4096 12. Jan 22:16 .


Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,850
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline Pausen

  • Newbie
  • *
  • Posts: 4
Sieverules plugin
« Reply #292 on: January 30, 2011, 08:21:03 AM »
Quote from: JohnDoh;32842
you are definatly running rc 0.5 right?

yes im sure
Quote from: JohnDoh;32842
try checking these 2 files are the same as the ones you have
https://github.com/JohnDoh/Roundcube-Plugin-SieveRules-Managesieve/blob/master/skins/default/templates/sieverules.html
https://github.com/JohnDoh/Roundcube-Plugin-SieveRules-Managesieve/blob/master/skins/default/sieverules.css

i copied the two files now
but the same error
do i have to move these into the roundcube skins folder ?
« Last Edit: January 30, 2011, 08:24:31 AM by Pausen »

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,850
Sieverules plugin
« Reply #293 on: January 30, 2011, 08:44:53 AM »
Quote
do i have to move these into the roundcube skins folder?

nope, they go in the sieverules skin folder, the path for each file is printed just above the code on those links i posted before.

I just downloaded a frech copy of rc 0.5 and the 0.5 version of sieverules and I have no problem with the skin. I dont know what you've done but I would guess somewhere you have forgotten to update either some of the sieverules files or the rc ones (was it a fresh install or an upgrade?). only the default skin of rc is supported.
« Last Edit: January 30, 2011, 11:20:26 AM by JohnDoh »
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline Pausen

  • Newbie
  • *
  • Posts: 4
Sieverules plugin
« Reply #294 on: January 30, 2011, 08:48:55 AM »
it was an update from roundcube 0.4.2

hmm maybe i have to do a clean install ... this would be very annoying

###
Update
i did now a new clean installation
this fixed now the error.

very weird
« Last Edit: January 30, 2011, 09:18:05 AM by Pausen »

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,850
Sieverules plugin
« Reply #295 on: January 30, 2011, 11:20:37 AM »
gald you got it all sorted.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline atno

  • Newbie
  • *
  • Posts: 2
i dont see "Filters" tab on settings
« Reply #296 on: April 15, 2011, 11:46:57 AM »
Hi,

I've installed the plugins but i don't see the Filters tab on settings. I don't get any errors on log files. Can someone guide me to fix this?

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,850
Sieverules plugin
« Reply #297 on: April 16, 2011, 04:20:37 AM »
Hi,

Please give a little more information about your setup.... things like:

What version of RC are you running?
What version if sieverules have you installed?
Did you actually enable it in your config or just dump the dir in?
Are there any JS errors on the page when you goto the settings section?
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline hailang

  • Newbie
  • *
  • Posts: 0
thank you
« Reply #298 on: April 16, 2011, 05:52:27 AM »
I just wanted to comment & say keep up the quality work. I’ve bookmarked your froums just now and I’ll be back to read more in the future my friend! Also well-chosen colors on the theme it goes well with the blog in my modest opinion
(yhm20110416)

Offline cbrace

  • Full Member
  • ***
  • Posts: 75
filter size limits?
« Reply #299 on: May 02, 2011, 04:30:28 PM »
Hi all,

I have the lastest sieverules (Apr 21) installed under roundcube v0.5.2 and dovecot v2.0.11. As far as I can tell it works fine, except for one particular filter statement, and I am wondering whether I am encountering an internal limitation.

In Thunderbird, I had a large filter set up to move all "bulk" mail (not junk, just non-personal mail) to a separate folder named Bulk.

Rather than retype everything, I copied the relevant Thunderbird entries in an editor, formatted them accordingly, and recreated the filter statement by hand in the sieve file.

The roundcube plugin can open and display this sieve statement, but if any changes are made to it and I try to save it, an error message is displayed:
Code: [Select]
The action you requested is not supported by the server

In the roundcube error log, I see this:
Code: [Select]
{115}roundcube: line 59: error: expecting ',' or end of test list ')', but found ':'. roundcube: error: parse failed. (3):

As far as I can tell, there is no syntax error in the this particular statement.

This statement is (the bit between the parentheses) 166 lines, 9532 bytes. Is this exceeding some limit? FWIW, here is it (contains no private info): pastebin - sieve filter statement - post number 2053021

Thanks.