BytemarkHosting / symbiosis

A hosting environment that works with you, not against you.
GNU General Public License v2.0
21 stars 14 forks source link

Roundcube sieve breaks following dist-upgrade from Symbiosis Jessie to Stretch #118

Open andrewladlow opened 6 years ago

andrewladlow commented 6 years ago

Roundcube returns an Unable to connect to managesieve server warning when attempting to access the Filters or Vacation setting. This is due to a change in the sieve directory structure when moving from Jessie to Stretch.

In Symbiosis Jessie, the structure is as follows:

root@symbiosis2:/usr/share/roundcube# ls -al /srv/symbiosis2.default.aladlow.uk0.bigv.io/mailboxes/root/
total 24
drwxr-sr-x 4 admin admin 4096 May 11 11:31 .
drwxr-sr-x 4 admin admin 4096 May 17 12:57 ..
drwx--S--- 9 admin admin 4096 May 27 16:05 Maildir
-rw-r--r-- 1 admin admin  105 May 27 12:51 password
lrwxrwxrwx 1 admin admin   23 May 11 11:30 sieve -> sieve.d/roundcube.sieve
drwx--S--- 3 admin admin 4096 May 11 11:30 sieve.d

And in Symbiosis Stretch:

root@symbiosis2:/usr/share/roundcube# ls -al /srv/symbiosis2.default.aladlow.uk0.bigv.io/mailboxes/root/
total 20
drwxr-sr-x 4 admin admin 4096 May 27 16:08 .
drwxr-sr-x 4 admin admin 4096 May 17 12:57 ..
lrwxrwxrwx 1 admin admin   21 May 27 16:08 .dovecot.sieve -> sieve/roundcube.sieve
drwx--S--- 9 admin admin 4096 May 27 16:05 Maildir
-rw-r--r-- 1 admin admin  105 May 27 12:51 password
drwx--S--- 3 admin admin 4096 May 27 16:08 sieve

To resolve this, the sieve.d directory should be renamed to sieve, and the sieve symlink to .dovecot.sieve.