Kolab & Debian 10

Gelpi Andrea <[email protected]>
Newsgroups gmane.comp.kde.devel.kroupware
Message-ID <b9a75cd8-2534-ef67-a630-235b6dd3350b__18359.3076116935$1587453138$gmane$org@gelpi.it>
Hi,
	I have a kolab on a debian 10 system.

I also use multi domain. To modify the system I followed this informations:

https://docs.kolab.org/howtos/multi-domain.html

There is an error in postfix configuration.

Edit /etc/postfix/ldap/hosted_duplet_mydestination.cf and change the
query_filter setting to:

query_filter =
(&(objectclass=domainrelatedobject)(associateddomain=%s)(associateddomain=*.*)(!(associateddomain=*.*.*)))

The above filter is wrong.

The correct one is:

query_filter =
(&(objectclass=domainrelatedobject)(associateddomain=%s)(associateddomain=*.*))

With the wrong filter all received mail are rejected as the local
recipient was not found.

You can check and reproduce the error with:

postmap -qv email_adderss
LDAP:/etc/postfix/ldap/hosted_duplet_mydestination.cf

With the filter in the docs it returns NO MATCH

With the correct one it give you a match.

Regards,

-- 
Gelpi ing. Andrea
--------------------------------------------------------------
It took the computing power of three C-64s to fly to the Moon.
It takes a 486 to run Windows 95. Something is wrong here.
--------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.