Relationship between domain entries and sbin utilities
807574Jun 9 2010 — edited Feb 10 2020Hi,
I've been experimenting with the DC entries (under o=Internet) and the service.defaultdomain configutil settings in my environment to try to figure out what the relationship between them is. Let me explain further:
I have a single database of users under: ou=people,o=myorg.com,o=myorg, with UIDs as strings of numbers only (i.e. no '@domain' postpended). I have multiple domains for which I handle mail - i.e. dc=domainA,dc=com,o=Internet and dc=domainB,dc=com,o=Internet. The inetDomainBaseDN attribute for both DC entries points to ou=people,o=myorg.com,o=myorg. I have two physically message store systems - one exclusively for mailboxes of users in domainA, and the other for mailboxes in domainB only.
Everything appeared to be fine until a recent upgrade (6.3 -> 7.3), when certain tools under <msg install root>/sbin stopped working properly. For example, an 'mboxutil -o' throws back practically all mailboxes as being orphaned. Reconstruct commands similarly fail.
Upon digging deeper, it appears from looking in the LDAP logs that these utilities (having walked the mailbox database it appears), do lookups in LDAP for 'UID@domain', rather than 'UID'. For example, a mailbox called 'user/123456789/INBOX' gives rise to an LDAP lookup for 'uid=123456789@domainA.com' instead of 'uid=123456789', and hence the lookup fails.
The reason I mention service.defaultdomain is because this appears to have an effect also - i.e. if I change this to 'domainB.com', then the lookups in LDAP involvinf users in domainA start to work again (i.e. no domain is postpended in the uid lookup), so I thought this may have an impact.
My questiosn therefore is: how can I get control over this scenario so that the messaging utilities don't perform incorrect uid lookups and hence fail?
Thanks, John.
# ./imsimta version
Sun Java(tm) System Messaging Server 7.3-11.01 64bit (built Sep 1 2009)
libimta.so 7.3-11.01 64bit (built 19:54:45, Sep 1 2009)
Using /global/dg-mail/mail/mail7.3/messaging64/config/imta.cnf (compiled)
SunOS mexico 5.10 Generic_127111-06 sun4u sparc SUNW,Sun-Fire-V210
Edited by: sfdsfgsdf on Jun 9, 2010 2:05 AM