[ingo] Make Ingo talking to Sieve

Ralf Lang lang at b1-systems.de
Fri Apr 17 14:07:43 UTC 2015


On 17.04.2015 16:04, trash at skrilnetz.net wrote:
> Hi there,
> 
> I have a working Horde-Postfix-Dovecot installation. I use Sieve to
> filter messages and redirect to folders. I edit those roles in the file
> .dovecot.sieve by hand. I would like to use ingo to manage those rules.
> 
> I did some research and had a look at backends.php and hooks.php but I
> did not really understand how to set that up.
> 
> Could someone point me in the right direction please?
> 
> Any help would be much appreciated.
> 
> 
> 
You should write a backends.local.php containing your version based on
the examples shown in backends.php

It could look like this

<?php

$backends = array();
$backends['imap']['disabled'] = true;
$backends['sieve']['disabled'] = false;
$backends['sieve']['transport'][Ingo::RULE_ALL]['driver'] = 'timsieved';
$backends['sieve']['transport'][Ingo::RULE_ALL]['params']['hostspec'] =
'imap.yourcompany.com';
$backends['sieve']['transport'][Ingo::RULE_ALL]['params']['logintype'] =
'PLAIN';
$backends['sieve']['transport'][Ingo::RULE_ALL]['params']['scriptname']
= 'ingo';
$backends['sieve']['transport'][Ingo::RULE_ALL]['params']['usetls'] = true;
$backends['sieve']['transport'][Ingo::RULE_ALL]['params']['debug'] = false;
$backends['sieve']['transport'][Ingo::RULE_ALL]['params']['port'] =
(enter a number here);
$backends['sieve']['script'][Ingo::RULE_ALL]['driver'] = 'sieve';
$backends['sieve']['script'][Ingo::RULE_ALL]['params']['utf8'] = false;
$backends['sieve']['script'][Ingo::RULE_ALL]['params']['imapflags'] = true;
$backends['sieve']['shares'] = false;



Or it could look somewhat different.

-- 
Ralf Lang
Linux Consultant / Developer
Tel.: +49-170-6381563
Mail: lang at b1-systems.de
B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.horde.org/archives/ingo/attachments/20150417/0fb2e2c2/attachment.bin>


More information about the ingo mailing list