1

Topic: RoundCube and manage sieve.

Hello.

Im getting some problem with the RoundCube manage sieve plugin.
When i specify two rules or more all rules disappear and come back to the only default rule:
"move message to" "inbox".

Im specifing the next rules:
"Move message to" "Trash"
"Mark message as" "Read"

I save it and dont get error it say "Filter saved successfully".
Dovecot log:

dovecot: Dec 04 09:00:59 Info: imap-login: Login: user=<mymail@rarara>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
dovecot: Dec 04 09:00:59 Info: managesieve-login: Login: user=<mymail@rarara>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
dovecot: Dec 04 09:00:59 Info: managesieve-login: Login: user=<mymail@rarara>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
dovecot: Dec 04 09:00:59 Info: MANAGESIEVE(mymail@rarara): Connection closed bytes=433/503
dovecot: Dec 04 09:00:59 Info: IMAP(mymail@rarara): Connection closed bytes=0/0
dovecot: Dec 04 09:00:59 Info: imap-login: Login: user=<mymail@rarara>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
dovecot: Dec 04 09:00:59 Info: IMAP(mymail@rarara): Disconnected: Logged out bytes=24/94
dovecot: Dec 04 09:00:59 Info: MANAGESIEVE(mymail@rarara): Connection closed bytes=36/444

This is the roundcube.sieve file for that account:
$cat roundcube.sieve

require ["fileinto","imapflags"];
# rule:[othermail]
if anyof (address :contains "To" "othermail@rarara",
    address :contains "Cc" "othermail@rarara",
    address :contains "Bcc" "othermail@rarara")
{
    fileinto "Tole";
}
# rule:[SPAM]
elsif anyof (header :contains "X-Spam-Flag" "YES")
{
    fileinto "Trash";
    setflag "\\Seen";
}

Its seen correct. Is a RoundCube managesieve plugin problem ?
I think it cant load the previous rules.


My configuration is:
iRedMail-0.5.1.tar.bz2
Debian 5.0.3 (lenny)
2.6.28.7

Thanks and regards.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: RoundCube and manage sieve.

Sysdebian wrote:

Its seen correct. Is a RoundCube managesieve plugin problem ?

It's a bug of roundcube managesieve plugin. smile

3

Re: RoundCube and manage sieve.

mmm
Im trying upgrade it:

cd /usr/share/apache2/roundcubemail-0.2.1/plugins
wget -q http://www.tehinterweb.co.uk/roundcube/plugins/sieverules.tar.gz
mv sieverules sieverules.orig
tar xzf sieverules.tar.gz
rm sieverules.tar.gz
cp sieverules.orig/config.inc.php sieverules/

But when in RoundCube, i go to the filters option the page is blank.

Have anybody upgrade the plugin succesfully ?

Thanks and regards.

4

Re: RoundCube and manage sieve.

I'm sorry, i assumed you are using roundcube-0.3.1 sad, my mistake.

If you use Roundcube-0.2.1 shipped in iRedMail, you have to upgrade roundcube to 0.3.1, it ships an official managesieve plugin.

If you don't want to upgrade it yourself, just waiting for iRedMail project to release upgrade tutorial.

5

Re: RoundCube and manage sieve.

Ok, thanks smile