[ingo] Fwd: Make Ingo talking to Sieve

trash at skrilnetz.net trash at skrilnetz.net
Fri Apr 17 15:22:09 UTC 2015


Thanks Ralf.

Thats what I have in my backends.local.php: http://pastebin.com/dKsAf2Kb

And the hooks.local.php: http://pastebin.com/WneNHKn2

the Ingo config file:
$conf['storage']['driver'] = 'prefs';

$conf['rules']['userheader'] = true;

$conf['spam']['header'] = 'X-Spam-Level';

$conf['spam']['char'] = '*';

$conf['spam']['compare'] = 'string';


No luck so far...

Quoting Ralf Lang <lang at b1-systems.de>:

> 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


-- 
Regards,
Michael

https://skrilnetz.net

----- End forwarded message -----

-------------- next part --------------
An embedded message was scrubbed...
From: Michael <michael at skrilnetz.net>
Subject: Re: [ingo] Make Ingo talking to Sieve
Date: Fri, 17 Apr 2015 14:57:47 +0000
Size: 6062
URL: <http://lists.horde.org/archives/ingo/attachments/20150417/b2daa90a/attachment.mht>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 1718 bytes
Desc: PGP Public Key
URL: <http://lists.horde.org/archives/ingo/attachments/20150417/b2daa90a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: PGP Digital Signature
URL: <http://lists.horde.org/archives/ingo/attachments/20150417/b2daa90a/attachment-0001.bin>


More information about the ingo mailing list