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 Display Modes
  #1 (permalink)  
Old 07-04-2009, 04:22 AM
Starter Member
 
Posts: 1
Default fetching mail from a main mail server

Hi,

I'm trying to install Zimbra as a local mail server that will fetch mail from the main mail.domain.com server but be on the local LAN. My mail.domain.com server needs SMTP authentication. I have gone through the articles on the wiki and administrator guide. My Mail domain settings look like this:

# name domain.com
dc: domain
o: domain.com domain
objectClass: dcObject
objectClass: organization
objectClass: zimbraDomain
zimbraAdminConsoleCatchAllAddressEnabled: FALSE
zimbraAdminConsoleDNSCheckEnabled: FALSE
zimbraAdminConsoleLDAPAuthEnabled: FALSE
zimbraAdminConsoleSkinEnabled: FALSE
zimbraAuthLdapBindDn: %u@DOMAIN
zimbraAuthLdapSearchBase: ou=Carpro, dc=domain,dc=com
zimbraAuthLdapSearchBindDn: cn=administrator,cn=Users,dc=domain,dc=com
zimbraAuthLdapSearchBindPassword: pass123
zimbraAuthLdapSearchFilter: (&(mail=%n)(objectclass=organizationalPerson))
zimbraAuthLdapURL: ldap://192.168.1.9:3268
zimbraAuthMech: ldap
zimbraDNSCheckHostname: mail.domain.com
zimbraDomainName: domain.com
zimbraDomainStatus: active
zimbraDomainType: local
zimbraFreebusyExchangeCachedInterval: 60d
zimbraFreebusyExchangeCachedIntervalStart: 7d
zimbraGalAutoCompleteLdapFilter: (|(sn=*%s*)(cn=*%s*)(mail=*%s*))
zimbraGalInternalSearchBase: DOMAIN
zimbraGalLdapAttrMap: co=workCountry
zimbraGalLdapAttrMap: company=company
zimbraGalLdapAttrMap: description=notes
zimbraGalLdapAttrMap: displayName,cn=fullName
zimbraGalLdapAttrMap: givenName,gn=firstName
zimbraGalLdapAttrMap: initials=initials
zimbraGalLdapAttrMap: l=workCity
zimbraGalLdapAttrMap: objectClass=objectClass
zimbraGalLdapAttrMap: ou=department
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=zimbraCalResLocati onDisplayName
zimbraGalLdapAttrMap: zimbraCalResType=zimbraCalResType
zimbraGalLdapAttrMap: zimbraId=zimbraId
zimbraGalLdapAttrMap: zimbraMailDeliveryAddress,zimbraMailAlias,mail=ema il,email2,email3,email4,email5,email6,email7,email 8,email9,email10,email11,email12,email13,email14,e mail15,email16
zimbraGalLdapAttrMap: zimbraMailForwardingAddress=zimbraMailForwardingAd dress
zimbraGalLdapBindDn: cn=administrator,cn=Users,dc=domain,dc=com
zimbraGalLdapBindPassword: serverpwd!@@
zimbraGalLdapFilter: (&(mail=*%s*)(objectclass=organizationalPerson))
zimbraGalLdapPageSize: 1000
zimbraGalLdapSearchBase: ou=eng,dc=domain,dc=com

zimbraGalLdapURL: ldap://192.168.1.9:3268
zimbraGalMaxResults: 100
zimbraGalMode: ldap
zimbraGalSyncLdapPageSize: 1000
zimbraId: a29ab855-10eb-42d9-bc5f-838429d2d255
zimbraMailCatchAllAddress: @domain.com
zimbraMailCatchAllForwardingAddress: @domain.com
zimbraMailStatus: enabled
zimbraMailTransport: smtp:mail.domain.com
zimbraNotebookAccount: wiki@domain.com
zimbraNotes: New
zimbraPrefTimeZoneId: (GMT+05.30) Chennai / Kolkata / Mumbai / New Delhi
zimbraPublicServiceHostname: domain.com
zimbraSkinLogoURL: Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
zimbraZimletDomainAvailableZimlets: com_zimbra_date
zimbraZimletDomainAvailableZimlets: com_zimbra_email
zimbraZimletDomainAvailableZimlets: com_zimbra_local
zimbraZimletDomainAvailableZimlets: com_zimbra_phone
zimbraZimletDomainAvailableZimlets: com_zimbra_url
zimbraZimletDomainAvailableZimlets: com_zimbra_ymemoticons


I authenticate with the local Active Directory server. However, when I try to send mail to an external system I get a sasl authentication failed error. I have created the conf/relay_password file with the user id and password.

Last edited by abhims : 07-04-2009 at 04:27 AM. Reason: additional information.
Reply With Quote
  #2 (permalink)  
Old 07-04-2009, 04:37 AM
Zimbra Consultant & Moderator
 
Posts: 11,331
Default

Quote:
Originally Posted by abhims View Post
I have created the conf/relay_password file with the user id and password.
Which user/password are you talking about?
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 07-05-2009, 12:08 PM
Elite Member
 
Posts: 351
Default

The config you pasted above is for user authentication for logins. For Smtp Auth you need to have a seperate auth file and same needs to be specified in main.cf. Have you modified those entries ? Refer to link Outgoing SMTP Authentication - Zimbra :: Wiki
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0