Horde ingo with dovecot sieve doesn't connect

This is just a case of RTFM but I thought I'd share...
I'm setting up ingo with dovecot sieve. I first verified that dovecot's sieve server is working properly by using the thunderbird sieve plugin (which is a sort of pointless plugin, you end up having to write in sieve language anyway, i'd expect a nicer gui front end like ingo has).

After making my backends.local.php in ingo's config directory, I did a tcpdump to verify that the web server was talking to the sieve server. Sadly it wasn't. (Sidebar here - the port number changed from 2000 to 4190 and my services file didn't have the new port so I was opening the wrong port on the firewall for about half an hour).

The problem was that the default backends.php file has the imap backend on by default. To add insult to injury, it's in all *caps* too.


/* IMAP Example */
$backends['imap'] = array(
// ENABLED by default
$disabled => false,

After changing that false to true, horde started talking to sieve. I think this breaks the notion of making local configs in backends.local.php and leaving backends.php alone.

Wordpress category: 
Wordpress tag: 

Comments

add follow parameters to backends.local.php does the same

/* IMAP Example */
$backends['imap'] = array(
// ENABLED by default
'disabled' => true,
'transport' => 'null',
'params' => array(),
'script' => 'imap',
'scriptparams' => array(),
'shares' => false
);

BR
Ron

As stated at the beginning of backends.php:

* IMPORTANT: DO NOT EDIT THIS FILE!
* Local overrides MUST be placed in backends.local.php or backends.d/.
* If the 'vhosts' setting has been enabled in Horde's configuration, you can
* use backends-servername.php.
*
* Example configuration file that enables the Sieve backend in favor of the
* IMAP backend:
*
* <?php
* $backends['imap']['disabled'] = true;
* $backends['sieve']['disabled'] = false;

You should never edit backends.php because this file is overwritten on every update.

All you need is to add those two lines in backends.local.php or add others as you see fit.

Add new comment

Markdown

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Refresh Type the characters you see in this picture. Type the characters you see in the picture; if you can't read them, submit the form and a new image will be generated. Not case sensitive.  Switch to audio verification.