Roundcube Community Forum

 

Managesieve and several imap server

Started by sergiodadi, April 07, 2010, 07:53:52 AM

Previous topic - Next topic

sergiodadi

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

JohnDoh

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.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

sergiodadi

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