Kolab 3.2 multidomain doc error?

Gelpi Andrea liste at gelpi.it
Sat Jun 21 19:23:48 CEST 2014


Il 19/06/2014 22:43, Jan Kowalsky ha scritto:
> Hi Andrea,
> 
> for me it looks like you have alias domains added to your domain
> gelpi.it , because it returns also mail.gelpi.it as an alias as well as
> localhost.
> 

You're right.

Gelpi.it is the primary domain added by setup-kolab command.
The aliases domain were added automatically.
Now is not clear to me if these aliases are necessary or I can delete them?


> 
> Am 19.06.2014 13:09, schrieb Gelpi Andrea:
>> On a fresh kolab 3.2  installation I followed documentation in
>> http://docs.kolab.org/howtos/multi-domain.html
>> for multi domain.
>>
>> In Postfix change there is:
>>
>> Edit /etc/postfix/ldap/hosted_duplet_mydestination.cf and change the
>> query_filter setting to:
>>
>> query_filter =
>> (&(objectclass=domainrelatedobject)(associateddomain=%s)(associateddomain=*.*)(!(associateddomain=*.*.*)))
>>
>> This map will be used to look up whether a domain name is a duplet of
>> components (i.e. example.org, but not example.org.uk). This is needed
>> for the templated search base we are going to use in other maps.
>>
>>
>> This configuration does not work for me because of my server name.
>>
>> postmap -q gelpi.it ldap:/etc/postfix/ldap/hosted_duplet_mydestination.cf
>>
>> return nothing while
>>
>> postmap -q gelpi.it ldap:/etc/postfix/ldap/hosted_trilet_mydestination.cf
>>
>> return
>> gelpi.it,localhost.localdomain,mail.gelpi.it,localhost
>>
>> So any mail sent to domain gelpi.it is bounced.
>>
>> To have multidomain working I have to modify
>> /etc/postfix/ldap/hosted_duplet_mydestination.cf with:
>>
>> query_filter =
>> (&(objectclass=domainrelatedobject)(associateddomain=%s)(associateddomain=*.*))
>>
>> I don't if this disrupt something other where.
>>
> 
> Look at the Multidomain-Howto:
> http://docs.kolab.org/howtos/multi-domain.html
> 
> Under the heading "Alias Domain Name Spaces for Hosted Kolab Domains"
> there is explained something about.
> 
> For hosting  alias domains beside of multidomain some additional
> configuration is necessary.
> 
> You also may have a look at this script:
> 
> https://github.com/jankowa/kolab3scripts/blob/master/kolabEnableMultiDomainAliases.sh
> 
> Best Regards
> Jan
> 


-- 
ing. Andrea Gelpi
***************************************************
La Terra non la abbiamo ereditata dai nostri avi,
ma la abbiamo presa in prestito dai nostri bambini.
***************************************************
We do not inherit the Earth from our parents,
but borrow it from our children.
***************************************************


More information about the users mailing list