Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-05-2010, 01:47 AM
Starter Member
 
Posts: 1
Exclamation Domain Aliases in GAL (LDAP)

I'm trying to dump all possible mail addresses from my Zimbra installation using LDAP (for a anti-spam solution with a recipient lookup ldap-filter...(mail=*)), I receive all alias accounts (on the same primary domain) as expected, but domain alias are not included.

I would prefer it would be possible to add all domain alias as mail objects on my primary domain user in order to maintain the relationship with uid=erik eg.

dn: uid=erik,ou=people,dc=example,dc=com
mail:erik@example.com
mail:foo@example.com
mail:erik@examplealias.com
mail:foo@examplealias.com

I have only found previous threads about people wanting to remove same-domain alias, no do the complete opposite. If this comes out practically impossible, could it be done with the SOAP interface?

Below is my filtered zmprov output.

Code:
prov> gd examplealias.com
# name examplealias.com
dc: examplealias
o: examplealias.com domain
objectClass: dcObject
objectClass: organization
objectClass: zimbraDomain
objectClass: amavisAccount
zimbraAdminConsoleCatchAllAddressEnabled: FALSE
zimbraAdminConsoleDNSCheckEnabled: FALSE
zimbraAdminConsoleLDAPAuthEnabled: FALSE
zimbraAdminConsoleSkinEnabled: FALSE
zimbraCreateTimestamp: 20100901072444Z
zimbraDomainAliasTargetId: 932c4257-dbbf-468c-9260-223ac9cc5cb9
zimbraDomainMandatoryMailSignatureEnabled: FALSE
zimbraDomainName: examplealias.com
zimbraDomainStatus: active
zimbraDomainType: alias
zimbraFreebusyExchangeCachedInterval: 60d
zimbraFreebusyExchangeCachedIntervalStart: 7d
zimbraGalAlwaysIncludeLocalCalendarResources: FALSE
zimbraGalAutoCompleteLdapFilter: externalLdapAutoComplete
zimbraGalInternalSearchBase: DOMAIN
zimbraGalLdapAttrMap: co=workCountry
zimbraGalLdapAttrMap: company=company
zimbraGalLdapAttrMap: description=notes
zimbraGalLdapAttrMap: displayName,cn=fullName
zimbraGalLdapAttrMap: facsimileTelephoneNumber,fax=workFax
zimbraGalLdapAttrMap: givenName,gn=firstName
zimbraGalLdapAttrMap: homeTelephoneNumber,homePhone=homePhone
zimbraGalLdapAttrMap: initials=initials
zimbraGalLdapAttrMap: l=workCity
zimbraGalLdapAttrMap: mobileTelephoneNumber,mobile=mobilePhone
zimbraGalLdapAttrMap: objectClass=objectClass
zimbraGalLdapAttrMap: ou=department
zimbraGalLdapAttrMap: pagerTelephoneNumber,pager=pager
zimbraGalLdapAttrMap: physicalDeliveryOfficeName=office
zimbraGalLdapAttrMap: postalCode=workPostalCode
zimbraGalLdapAttrMap: sn=lastName
zimbraGalLdapAttrMap: st=workState
zimbraGalLdapAttrMap: street,streetAddress=workStreet
zimbraGalLdapAttrMap: telephoneNumber=workPhone
zimbraGalLdapAttrMap: title=jobTitle
zimbraGalLdapAttrMap: whenChanged,modifyTimeStamp=modifyTimeStamp
zimbraGalLdapAttrMap: whenCreated,createTimeStamp=createTimeStamp
zimbraGalLdapAttrMap: zimbraCalResLocationDisplayName=zimbraCalResLocationDisplayName
zimbraGalLdapAttrMap: zimbraCalResType=zimbraCalResType
zimbraGalLdapAttrMap: zimbraId=zimbraId
zimbraGalLdapAttrMap: zimbraMailDeliveryAddress,zimbraMailAlias,mail=email,email2,email3,email4,email5,email6,email7,email8,email9,email10,email11,email12,email13,email14,email15,email16
zimbraGalLdapAttrMap: zimbraMailForwardingAddress=zimbraMailForwardingAddress
zimbraGalLdapPageSize: 1000
zimbraGalMaxResults: 100
zimbraGalSyncLdapPageSize: 1000
zimbraGalSyncTimestampFormat: yyyyMMddHHmmss'Z'
zimbraGalTokenizeAutoCompleteKey: and
zimbraGalTokenizeSearchKey: and
zimbraId: d6d4821c-3030-4cca-a227-fd2a975b86f6
zimbraMailCatchAllAddress: @examplealias.com
zimbraMailCatchAllForwardingAddress: @example.com
zimbraMailStatus: enabled

prov> gd example.com
# name example.com
dc: example
description: Default Email Domain
o: example.com domain
objectClass: dcObject
objectClass: organization
objectClass: zimbraDomain
objectClass: amavisAccount
zimbraAdminConsoleCatchAllAddressEnabled: FALSE
zimbraAdminConsoleDNSCheckEnabled: FALSE
zimbraAdminConsoleLDAPAuthEnabled: FALSE
zimbraAdminConsoleSkinEnabled: FALSE
zimbraCreateTimestamp: 20100817142656Z
zimbraDNSCheckHostname: zimbra.example.com
zimbraDomainMandatoryMailSignatureEnabled: FALSE
zimbraDomainName: example.com
zimbraDomainStatus: active
zimbraDomainType: local
zimbraFreebusyExchangeCachedInterval: 60d
zimbraFreebusyExchangeCachedIntervalStart: 7d
zimbraGalAlwaysIncludeLocalCalendarResources: FALSE
zimbraGalAutoCompleteLdapFilter: externalLdapAutoComplete
zimbraGalInternalSearchBase: DOMAIN
zimbraGalLdapAttrMap: co=workCountry
zimbraGalLdapAttrMap: company=company
zimbraGalLdapAttrMap: description=notes
zimbraGalLdapAttrMap: displayName,cn=fullName
zimbraGalLdapAttrMap: facsimileTelephoneNumber,fax=workFax
zimbraGalLdapAttrMap: givenName,gn=firstName
zimbraGalLdapAttrMap: homeTelephoneNumber,homePhone=homePhone
zimbraGalLdapAttrMap: initials=initials
zimbraGalLdapAttrMap: l=workCity
zimbraGalLdapAttrMap: mobileTelephoneNumber,mobile=mobilePhone
zimbraGalLdapAttrMap: objectClass=objectClass
zimbraGalLdapAttrMap: ou=department
zimbraGalLdapAttrMap: pagerTelephoneNumber,pager=pager
zimbraGalLdapAttrMap: physicalDeliveryOfficeName=office
zimbraGalLdapAttrMap: postalCode=workPostalCode
zimbraGalLdapAttrMap: sn=lastName
zimbraGalLdapAttrMap: st=workState
zimbraGalLdapAttrMap: street,streetAddress=workStreet
zimbraGalLdapAttrMap: telephoneNumber=workPhone
zimbraGalLdapAttrMap: title=jobTitle
zimbraGalLdapAttrMap: whenChanged,modifyTimeStamp=modifyTimeStamp
zimbraGalLdapAttrMap: whenCreated,createTimeStamp=createTimeStamp
zimbraGalLdapAttrMap: zimbraCalResLocationDisplayName=zimbraCalResLocationDisplayName
zimbraGalLdapAttrMap: zimbraCalResType=zimbraCalResType
zimbraGalLdapAttrMap: zimbraId=zimbraId
zimbraGalLdapAttrMap: zimbraMailDeliveryAddress,zimbraMailAlias,mail=email,email2,email3,email4,email5,email6,email7,email8,email9,email10,email11,email12,email13,email14,email15,email16
zimbraGalLdapAttrMap: zimbraMailForwardingAddress=zimbraMailForwardingAddress
zimbraGalLdapPageSize: 1000
zimbraGalMaxResults: 100
zimbraGalSyncLdapPageSize: 1000
zimbraGalSyncTimestampFormat: yyyyMMddHHmmss'Z'
zimbraGalTokenizeAutoCompleteKey: and
zimbraGalTokenizeSearchKey: and
zimbraId: 932c4257-dbbf-468c-9260-223ac9cc5cb9
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.