Multi domain setup not working (Ubuntu 18.04)

Tom Reijnders reijnders at tor.nl
Sat Jun 25 15:02:33 CEST 2022


It seems to me, this is really a bug in ptloader of cyrus-impad 2.5

It finds the correct base_dn, and the first thing it doe, is throw it away.

So, ether I patch this myself, or I start over again.

What OS and which version of kolab is the best at this time to use?

Tom


Op 24-6-2022 om 10:07 schreef Tom Reijnders:
> Sure,
>
> This is the specific part that is used by ptloader:
>
> ldap_domain_base_dn: cn=kolab,cn=config
> ldap_domain_filter: 
> (&(objectclass=domainrelatedobject)(associateddomain=%s))
> ldap_domain_name_attribute: associateddomain
> ldap_domain_scope: sub
> ldap_domain_result_attribute: inetdomainbasedn
>
> If the domain would have been searched in the Root DN that it's 
> listing as being relevant, the domain would have been found. But it 
> seems not to do so...
>
> Tom
>
> Op 23-6-2022 om 23:45 schreef Jochen Kellner:
>> Tom Reijnders <reijnders at tor.nl> writes:
>>
>>> This is a complete separate domain (and you need to change quite a lot
>>> of things to make it work. I followed this process:
>>>
>>> https://docs.kolab.org/howtos/multi-domain.html
>> Ah, ok. I had a look at that document and I suspect something in
>> /etc/cyrus.conf or /etc/imapd.conf. I only have an alias domain...
>>
>> Can you show at least the ldap_.* configuration in /etc/imapd.conf?
>> Maybe someone spots an error or has a tip for you.
>>
>> Jochen
>>
>>> Op 23-6-2022 om 00:13 schreef Jochen Kellner:
>>>> Hello,
>>>>
>>>> Tom Reijnders <reijnders at tor.nl> writes:
>>>>
>>>>> L.S.,
>>>>>
>>>>> I cannot get multi domain setup working correctly. Everything works
>>>>> for the main domain, but the canonification for the other domains 
>>>>> does
>>>>> not seem to work.
>>>>>
>>>>> This is what I see in the log:
>>>>>
>>>>> Jun 22 20:47:02 kolab ptloader[11261]: Attempting to get domain for
>>>>> webshop.helicon at pedit-nederland.nl from cn=kolab,cn=config
>>>> ...
>>>>
>>>> which logfile is that? I've recently added a secondary/alias domain to
>>>> my kolab on Debian 10 - and that seems to work. And I don't see 
>>>> similar
>>>> messages...
>>>>
>>>>> Does anyone know what goes wrong? Where can I find the source of
>>>>> ptloader so that I can try to debug this issue?
>>>> On my system ptloader is /usr/lib/cyrus/bin/ptloader, which is part of
>>>> cyrus-common:
>>>>
>>>> root at jupiter:/var/log# dpkg -S /usr/lib/cyrus/bin/ptloader
>>>> cyrus-common: /usr/lib/cyrus/bin/ptloader
>>>> root at jupiter:/var/log# dpkg -l cyrus-common
>>>> Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig 
>>>> Löschen/Halten
>>>> | Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
>>>>            Halb installiert/Trigger erWartet/Trigger anhängig
>>>> |/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: 
>>>> GROSS=schlecht)
>>>> ||/ Name           Version         Architektur  Beschreibung
>>>> +++-==============-===============-============-================================= 
>>>>
>>>> ii  cyrus-common   3.0.8-6+deb10u6 amd64        Cyrus mail system - 
>>>> common files
>>>>
>

-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196


More information about the users mailing list