Roundcube Community Forum

Third Party Contributions => API Based Plugins => Topic started by: sergiodadi on April 07, 2010, 07:53:52 AM

Title: Managesieve and several imap server
Post by: sergiodadi on April 07, 2010, 07:53:52 AM
Hi

this is my first post. We have a roundcube server with managesieve for one imap server. All work good since months.

We would like add another imap server with choice at login screen. We do:


$rcmail_config['default_host'] = array(
  'ssl://server-1:993' => 'Server 1',
  'ssl://server-2:993'  => 'Server 2'
);

This is working well except for managesieve. How can i configure the mangasieve plugin to use sieve server1 when we choose server1 at login time (and sieve server-2 when we choose server-2)

In the config.inc.php of managesieve , we can only put one managesieve_host

I search in the archive but i have find nothing

thank for your help or samples

Serge
Title: Managesieve and several imap server
Post by: JohnDoh on April 07, 2010, 02:40:26 PM
what version of rc are you using? from 0.3.1 onwards you can set $rcmail_config['managesieve_host'] = '%h'; which make it use the imap host.
Title: Managesieve and several imap server
Post by: sergiodadi on April 08, 2010, 04:26:34 AM
Hi,

Quote from: JohnDoh;26663what version of rc are you using? from 0.3.1 onwards you can set $rcmail_config['managesieve_host'] = '%h'; which make it use the imap host.

We use 0.3-stable. Thanks you very much for the answer. We planning upgrade soon and we use your instruction.


Best regards

Serge