[ingo] maildir folder separator in sieve

Christopher Stegmann stegmann at trisinus.de
Mon Jun 8 07:20:56 UTC 2009


Daniel Mayer schrieb:
> On 06/05/2009 10:52 AM, Jan Schneider wrote:
>> Zitat von Daniel Mayer <mayer at couga.net>:
>  >
>>> On 06/05/2009 03:24 AM, Jan Schneider wrote:
>>>> Zitat von Daniel Mayer <mayer at couga.net>:
>>>>
>>>>> Christopher,
>>>>>
>>>>> On 06/04/2009 07:21 AM, Christopher Stegmann wrote:
>>>>>> It is possible to set a maildir folder separator in backends.php
>>>>>> configuration of ingo: http://bugs.horde.org/ticket/7621
>>>>>> How can i configure that separator for sieve-scripts?
>>>>>
>>>>> I was looking into this one or two month ago and did not find any
>>>>> setting for it. I ended up modifying the code which generates the
>>>>> sieve files which has the separator hardcoded in it.
>>>>>
>>>>> If you are interested I can try to find the file and place I changed.
>>>>> For me it was necessary to make Ingo work with dovecot..
>>>>
>>>> Ingo is using the IMP API to set folder names, so it uses the same
>>>> separators like IMP. Unless you intentionally turned off the API usage,
>>>> which is highly discouraged in the setting comments.
>>
>> The question was whether you use the IMP API to retrieve the folder
>> list. This is set in the configuration. If you do, and if Dovecot is
>> providing a different folder separator through the NAMESPACE command
>> (slashes) than it expects in its delivery agent (dots), then I'd
>> consider it pretty broken.
> 
> Sorry, I was not aware of the setting. "$conf[rules][usefolderapi]" is 
> set to true.
> Indeed, manually telneting into our IMAP Server reveals the following 
> namespace information:
> 
> a001 NAMESPACE
> * NAMESPACE (("" "/")) NIL (("shared1/" "/")("shared2/" "/"))
> 
> where "/" is the separator. So this is not Ingo's fault then. I will 
> double check with dovecot and file a bug report if it is indeed 
> inconsistent and therefore  broken.
> 
> Thanks,
> Daniel

Hi,

I changed the separator from "/" to the maildir default "." in dovecot. 
So fileinto works fine with ingo.

on http://wiki.dovecot.org/LDA/Sieve you can read:
 >Dovecot v1.0's deliver doesn't support namespaces, so if you have a 
 >namespace prefix you must not add it to fileinto and you must use the 
 >default separator. This also means that delivering mails to multiple 
 >namespaces isn't possible with v1.0.


More information about the ingo mailing list