[ingo] Fwd: Make Ingo talking to Sieve

Michael M Slusarz slusarz at horde.org
Tue Apr 21 18:12:21 UTC 2015


Quoting trash at skrilnetz.net:

> 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?

There's no support for importing an existing sieve file.  That would  
require writing a full language parser (which is not something  
traditionally done in PHP; you need something like bison or yacc for  
that).

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the ingo mailing list