Author Topic: Error IMAP and Managesieve  (Read 2431 times)

Offline seb-65

  • Newbie
  • *
  • Posts: 2
Error IMAP and Managesieve
« on: October 06, 2014, 12:29:03 PM »
Hello,

I use many server's imap (config.inc.php) :
Code: [Select]
$config['default_host'] = array('imap.test.com' => 'Mail1','imap.other.net' => 'Mail2');

I have two problems :

# The display is very long emails on the server Mail2. Mail1 is OK !

# Managesieve connection does not work. If I use the server Mail2, the domain used is the domain Mail1 (test.com) instead of Mail2 (other.net).
Code: [Select]
$config['managesieve_host'] = 'mail.%d';

Code: [Select]
PHP Error: Unable to connect to managesieve on mail.test.com:4190 in /var/www/webmail/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php on line 201 (GET /?_task=settings&_action=plugin.managesieve)

Can you help me?
Thank you
 

Offline alec

  • Hero Member
  • *****
  • Posts: 1,225
Re: Error IMAP and Managesieve
« Reply #1 on: October 07, 2014, 02:14:52 AM »
You should use %z variable, I suppose.

Offline seb-65

  • Newbie
  • *
  • Posts: 2
Re: Error IMAP and Managesieve
« Reply #2 on: October 07, 2014, 04:01:54 AM »
Hello,

For managesieve I use %h (%h - user's IMAP hostname), it seems ok  :)

An idea to slow on server 2 (Mail2) ??