Author Topic: Managesieve and several imap server  (Read 6537 times)

Offline sergiodadi

  • Newbie
  • *
  • Posts: 2
Managesieve and several imap server
« 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

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,855
Managesieve and several imap server
« Reply #1 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.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦

Offline sergiodadi

  • Newbie
  • *
  • Posts: 2
Managesieve and several imap server
« Reply #2 on: April 08, 2010, 04:26:34 AM »
Hi,

Quote from: JohnDoh;26663
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.


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


Best regards

Serge