Dear Friends
I'm using the 0.7 RC Plugin sieverules, but the rules do not apply and check the log of the RC, the error below. I've tried different ways in dovecot.conf but without success, I pointed to folder, already pointed to the file and the problem persists. Proceurei detailing all shapes and configurations below. The Archive is created within the server as roundcube.sieve more the rule is not applied.
SYSTEM:
php5 5.3.2-1ubuntu4.9
Ubuntu 10.04.3
ERROR
----------------
root@galinhos:/var/www/roundcubemail/plugins/sieverules# tail -f /var/www/roundcubemail/logs/errors
[23-Dec-2011 13:51:17 -0200]: PHP Error: SieveRules plugin: Unable to open example rule file in /var/www/roundcubemail/plugins/sieverules/sieverules.php on line 1255 (GET /roundcubemail/?_task=settings&_action=plugin.sieverules)
DIR DOVECOT
----------------------
root@cotovelo:/etc/dovecot# ls
auth.d conf.d dovecot.conf default.sieve sieve
FILE DEFAULT
--------------------
root@cotovelo:/etc/dovecot# cat default.sieve
require "fileinto";
if header :comparator "i;ascii-casemap" :contains "Subject" "***SPAM***" {
fileinto "Junk";
stop;
CONFIG PLUGIN DOVECOT
--------------------------------------
dovecot.conf
plugin {
# sieve=/var/vmail/%d/%u/sieve/roundcube.sieve
sieve_dir=/var/vmail/%d/%u/sieve/
sieve_before = /var/vmail/%d/%u/sieve/
# sieve_global_path=/etc/dovecot/default.sieve
FILE GENERATED FROM ROUNDCUBE
root@cotovelo:/etc/dovecot# cat /var/vmail/domain.com.br/anderson/sieve/roundcube.sieve
## Generated by Roundcube Webmail SieveRules Plugin ##
require ["fileinto"];
# rule:[SPAM]
if anyof (header :contains "Subject" "***SPAM***")
{
fileinto "Spam";
}
Quoteroot@galinhos:/var/www/roundcubemail/plugins/sieverules# tail -f /var/www/roundcubemail/logs/errors
[23-Dec-2011 13:51:17 -0200]: PHP Error: SieveRules plugin: Unable to open example rule file in /var/www/roundcubemail/plugins/sieverules/sieverules.php on line 1255 (GET /roundcubemail/?_task=settings&_action=plugin.sieverules)
check the permissions in the example file, make sure the user the web server runs as can read it.