Resources in multi-domain setup. Does it work in Kolab 3.4? (Bug in doc found !)

Franz Skale i.bin at dah.am
Tue Jun 2 21:38:16 CEST 2015



Hi Cornelius,
watching the bug, it found my tempfix for that problem.
I use the dev repo (development) right now.
My temp fix can be found: (last comment).
https://issues.kolab.org/show_bug.cgi?id=4331

File /usr/share/pyshared/pykolab/auth/ldap/__init__.py. (function
find_resource)
After patching do:
cd /usr/share/pyshared/pykolab/auth/ldap/
python -m compileall .
Restart wallace and kolabd.

Try.

Rgds.

Franz

Am 10.05.15 um 11:25 schrieb Franz Skale:
>
>
> Hello Daniel,
> thanks for your suggestion.
> It works, and the mail will be passed to wallace.
> This leeds to another problem, regarding the inviation_policy module
> seems not to be multidomain aware.
> But for this particular problem, i will post a new message.
>
> Many Thanks
>
>
> Franz
>  
> Am 09.05.15 um 20:23 schrieb Daniel Hoffend:
>> Hello Felix
>>
>> thanks for your research
>>
>>>  NOTE: DO NOT put quotes around the result format!
>>>
>>>  Kolab upgrade guide:
>>>  https://docs.kolab.org/upgrade-guide/kolab-3.4.html [4]
>>>
>>> Change the result_format to be enclosed by quotes otherwise you
>>> can’t deliver mail messages to shared mailboxes that contains spaces
>>> in the mailbox name. result_format = "shared+%s"
>> It was me who was suggesting putting quotes around the result.
>> The quotes should ensure that the mail will find its correct folder
>> when delivered using lmtp.
>>
>> It's not ment for any other ldap searches to find the next result.
>>
>> I've the strong feeling that your postfix ldap search is just wrong.
>> When looking up for resources the ldap search for shared folders should
>> not return the storage location. In fact the wallace should intercept
>> the resource booking request and process the mail.
>>
>> Fixing your sharedfolder ldap_query should fix your problem:
>>
>> ------------
>> query_filter =
>> (&(|(mail=%s)(alias=%s))(objectclass=kolabsharedfolder)(kolabFolderType=mail))
>> result_attribute = kolabtargetfolder
>> result_format = "shared+%s"
>> ------------
>>
>> Filtering for kolabFolderType=mail will not create a match when
>> you lookup for a resource, cause the resource has
>> kolabFolderType=event.
>>
>>
>> -- 
>> Best Regards
>> Daniel Hoffend
>> _______________________________________________
>> users mailing list
>> users at lists.kolab.org
>> https://lists.kolab.org/mailman/listinfo/users
>
>
>
> _______________________________________________
> users mailing list
> users at lists.kolab.org
> https://lists.kolab.org/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20150602/36c44112/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4254 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.kolab.org/pipermail/users/attachments/20150602/36c44112/attachment.p7s>


More information about the users mailing list