[ingo] maildir folder separator in sieve

Daniel Mayer mayer at couga.net
Fri Jun 5 15:02:21 UTC 2009


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


More information about the ingo mailing list