1

Topic: RoundCube: unable connect to filter's server [SOLVED]

Hi,
iRedMail-0.4.0
centos 5.2

Today when i go to rouncude in filters tab, i see the message on top:

"unable connect to filter's server"

In rouncube log all clear.... any ideas ?

p.s. all daemons are up, i try restart server, but have a same result.

----

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

2

Re: RoundCube: unable connect to filter's server [SOLVED]

[root@mail2 config]# cat ./main.inc.php | grep sieve
// managesieve server port
$rcmail_config['managesieve_port'] = 2000;
// managesieve server address
$rcmail_config['managesieve_host'] = 'localhost';
// use or not TLS for managesieve server connection
// it's because I've problems with TLS and dovecot's managesieve plugin
$rcmail_config['managesieve_usetls'] = false;
$rcmail_config['managesieve_default'] = '/vmail/.dovecot.sieve';
$rcmail_config['managesieve_replace_delimiter'] = '';
[root@mail2 config]# netstat -anp | grep 2000
tcp        0      0 127.0.0.1:2000              0.0.0.0:*                   LISTEN      2460/python
[root@mail2 config]#

3

Re: RoundCube: unable connect to filter's server [SOLVED]

try to debug pysieved service.

4

Re: RoundCube: unable connect to filter's server [SOLVED]

/vmail/.dovecot.sieve - files exist and ok.

very interesting, yesterday i add new domain, all work fine, i mean rouncude not print "unable connect to filter's server";
but today created domain in rouncube print this error;

5

Re: RoundCube: unable connect to filter's server [SOLVED]

hm, i think pysieve can't write to /vmail/sieve folder...
but chown are ok

6

Re: RoundCube: unable connect to filter's server [SOLVED]

[root@mail2 roundcubemail-0.2-stable]# telnet 127.0.0.1 2000
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
"IMPLEMENTATION" "pysieved 1.0"
"SASL" "PLAIN LOGIN"
"SIEVE" "fileinto reject envelope vacation imapflags notify subaddress relational comparator-i;ascii-numeric"
OK

7 (edited by shellcode 2009-06-25 16:51:15)

Re: RoundCube: unable connect to filter's server [SOLVED]

login, and go to filters tab
messagess:
Jun 25 12:49:40 mail2 roundcube: [25-Jun-2009 12:49:40 +0400]: Successful login for name@mydomain.ru (id 7) from 82.157.100.14
Jun 25 12:49:45 mail2 roundcube: BYE "Server error" (6):

8

Re: RoundCube: unable connect to filter's server [SOLVED]

yes, when i add domain in postfixadmin, it must create /vmail/sieve/domain/user/.sieve folder, but no do this, why ?
i can't see any errors, chown on /vmail/sieve vmail:vmail

9

Re: RoundCube: unable connect to filter's server [SOLVED]

any ideas ?

10

Re: RoundCube: unable connect to filter's server [SOLVED]

shellcode wrote:

yes, when i add domain in postfixadmin, it must create /vmail/sieve/domain/user/.sieve folder, but no do this, why ?
i can't see any errors, chown on /vmail/sieve vmail:vmail

Try this:

### Find dovecot.py installed by pysieved.
$ rpm -ql pysieved |grep 'dovecot.py$'

### Check source code: os.mkdir
$ grep 'os.m'

If it shows 'os.mkdir(self.basedir)', it's wrong. It must be 'os.makedirs(self.basedir)'.
Restart pysieved and test it in roundcube again after you change source code as above.

11

Re: RoundCube: unable connect to filter's server [SOLVED]

YES! its work!!! Big thanx!