multidomain - can send emails to secondary domains but not to the primary
Jan Kowalsky
jankow at datenkollektiv.net
Thu Mar 27 18:58:25 CET 2014
Am Tuesday, 25. March 2014 schrieb Jan Kowalsky:
> Am Monday, 24. March 2014 schrieb Jan Kowalsky:
> > Hi all,
> >
> > (kolab 3.2, debian wheezy)
> >
> > after setting up multidomain support in kolab 3.2 according to
> > https://docs.kolab.org/howtos/multi-domain.html I have the following
> > situation:
> >
> > Assume we have the primary domain: example.org
> > and two added: example2.org, example3.org
> >
> > I can send emails to user at example2.org and user at example3.org but not to
> > user at example.org anymore.
> >
> > The error is:
> >
> > Mar 24 22:27:14 kolab3 postfix/submission/smtpd[7208]: NOQUEUE: reject:
> > RCPT from localhost[127.0.0.1]: 550 5.1.1 <user at example.org>: Recipient
> > address rejected: User unknown in local recipient table;
> > from=<user at example2.org> to=<user at example.org> proto=ESMTP helo=<kolab3>
> >
> > and in ldap access log I get:
> >
> > conn=5 op=44 SRCH base="dc=datenkollektiv,dc=net" scope=2 filter="(&(|
> > (mail=user at user@example.org)(alias=user at user@example.org))(!
> > (nsUniqueId=d10b7401-b39311e3-943cf169-810dacce)))" attrs="mail alias
> > nsUniqueId"
> > [24/Mar/2014:21:36:21 +0100] conn=5 op=44 RESULT err=0 tag=101 nentries=0
> > etime=0 notes=U
> >
> > it's filterd with nsUniqueID - and this is obviously the reason that the
> > entry is not found.
no, this wasn't the problem
>
> When I add the (original) configuration
>
> mydestination.cf
> transport_maps.cf
> virtual_alias_maps.cf
>
> additional to the main.cf it works.
>
> Something semms to be wrong with the query_filter - but what?
>
> Anybody else has the same problem?
As far as I understood the problem results if the primary domain has also an
alias-name with an triplet component.
Until now I thougt this causes only problems whensend to an alias-domain like
sub.example.org.
But the query_filter in mydestination.cf doesn't find the primary domain like
example.org if there is also an sub.example.org
(&(objectclass=domainrelatedobject)(associateddomain=exampel.org)
(associateddomain=*.*)(!(associateddomain=*.*.*)))
finds
dn: associateddomain=example.org,cn=kolab,cn=config
objectClass: top
objectClass: domainrelatedobject
objectClass: inetdomain
associatedDomain: example.org
associatedDomain: localhost.localdomain
associatedDomain: localhost
but not:
dn: associateddomain=example.org,cn=kolab,cn=config
objectClass: top
objectClass: domainrelatedobject
objectClass: inetdomain
associatedDomain: example.org
associatedDomain: hostname.example.org
associatedDomain: localhost.localdomain
associatedDomain: localhost
since the default entry for the primary domain is the second it causes errors.
Regards
Jan
More information about the users
mailing list