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

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 03-06-2008, 12:59 PM
Senior Member
 
Posts: 71
Default [SOLVED] Can't send Mails after restore on centos6 x64

The topic should say centos5 x64

I installed a fresh zimbra 5.0.2 x64 network edition.

When I don't restore the files from a zimbra 5.0.2 32 bit system it seems to go well. But after the restore I'm not able to send Mails. This is the error in the zimbra.log:

Code:
Mar  6 20:44:15 zimbra postfix/trivial-rewrite[8972]: warning: dict_ldap_connect: Unable to bind to server ldap://server.fqdn:389 as uid=zmpostfix,cn=app
accts,cn=zimbra: 49 (Invalid credentials)
Mar  6 20:44:15 zimbra last message repeated 2 times
Mar  6 20:44:15 zimbra postfix/trivial-rewrite[8972]: fatal: ldap:/opt/zimbra/conf/ldap-vad.cf(0,lock|fold_fix): table lookup problem
Mar  6 20:44:16 zimbra postfix/smtpd[7757]: warning: problem talking to service rewrite: Success
Mar  6 20:44:16 zimbra postfix/master[5984]: warning: process /opt/zimbra/postfix-2.4.3.4z/libexec/trivial-rewrite pid 8972 exit status 1
Mar  6 20:44:16 zimbra postfix/master[5984]: warning: /opt/zimbra/postfix-2.4.3.4z/libexec/trivial-rewrite: bad command startup -- throttling
Mar  6 20:45:16 zimbra postfix/trivial-rewrite[9128]: warning: dict_ldap_connect: Unable to bind to server ldap://server.fqdn:389 as uid=zmpostfix,cn=app
accts,cn=zimbra: 49 (Invalid credentials)
Mar  6 20:45:16 zimbra last message repeated 2 times
Mar  6 20:45:16 zimbra postfix/trivial-rewrite[9128]: fatal: ldap:/opt/zimbra/conf/ldap-vad.cf(0,lock|fold_fix): table lookup problem
Mar  6 20:45:17 zimbra postfix/smtpd[7757]: warning: problem talking to service rewrite: Success
Mar  6 20:45:17 zimbra postfix/master[5984]: warning: process /opt/zimbra/postfix-2.4.3.4z/libexec/trivial-rewrite pid 9128 exit status 1
Mar  6 20:45:17 zimbra postfix/master[5984]: warning: /opt/zimbra/postfix-2.4.3.4z/libexec/trivial-rewrite: bad command startup -- throttling
All services are started. The server from which I took the backup had an other ip because it's still productive, could this be a problem?

I made no other configurations.

Do you have any idea what can be the cause of this?

Last edited by lindworm; 03-06-2008 at 01:26 PM..
Reply With Quote
  #2 (permalink)  
Old 03-10-2008, 10:02 PM
Former Zimbran
 
Posts: 5,606
Default

Seems to be a cert issue.

To make things simple, try rerunning your install over your current setup (make sure you have a backup)

If that doesn't work, try this:
If you have trouble with Zimbra 5.0, Read this:
Reply With Quote
  #3 (permalink)  
Old 03-11-2008, 04:57 AM
Senior Member
 
Posts: 71
Default

Thanks for your reply.

I was no cert issue.

The error message said: Invalid credentials
So it was a problem with wrong ldap passwords

We took this steps to get it working:

First you need the zimbra_ldap_password:
zmlocalconfig -s zimbra_ldap_password ldap_master_url

In /opt/zimbra/conf/ldap*.cf and amavisd.conf you will find the password you have to set. (bind_pw / bind_password)

ldapmodify -h <your_host> -x -D 'cn=config' -W
(use the zimbra_ldap_password here)
then type this:
dn: uid=zmpostfix,cn=appaccts,cn=zimbra
changetype: modify
replace: userPassword
userPassword: <your password>
^D

ldapmodify -h <your_host> -x -D 'cn=config' -W
dn: uid=zmamavis,cn=appaccts,cn=zimbra
changetype: modify
replace: userPassword
userPassword: <your password>
^D

^D = CTRL + D


But there may be an easier way to do it.
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.