Open mateusguilhermedasilva opened 9 years ago
My zmbkpose is quite old and is also showing this error, I'll be updating it soon and check if It is solved.
I am getting this error as well. Not sure if its just cosmetic as of yet, backups complete and I can restore from a user backup so all appears well...
I have the same issue, the problem is that ldapsearch doesn't sort in the results it gets, so for some results you have
dn: uid=user.1,ou=people,dc=example,dc=org zimbraMailHost: mail.example.com zimbraMailDeliveryAddress: user.1@example.com
and for others dn: uid=user.2,ou=people,dc=example,dc=org zimbraMailDeliveryAddress: user.2@example.com zimbraMailHost: mail.example.com
This confuses the script and it can't find the proper mail host.
I've done a very quick hack, I added the MAILHOST variable to the config and removed its calculation (for me, it was on lines 191 and 208, for the full backup), which seems to solve the issue.
If you have multiple domains how to mention it? And I am also getting below error.
curl: (6) Couldn't resolve host '' curl: (6) Couldn't resolve host '' curl: (6) Couldn't resolve host ''
run command ./zmbkpose -f
.. .. .. .. curl (6) couldn't resolve host
What is the solution ?