Author Topic: migrate emails from Zentyal 3.2 to 3.5  (Read 3231 times)

tomfromdare

  • Zen Apprentice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
migrate emails from Zentyal 3.2 to 3.5
« on: December 18, 2015, 05:28:10 pm »
The Zentyal 3.2 server became unusable, with many segfaults during startup. Moving mail from old server to new didn't work, and my searches here and elsewhere didn't help, but someone has surely solved this problem.

Created fresh install of Zentyal 3.5, recreated three email users, saw their entries in /var/vmail/ folder
Tarred folders on old server, untarred on new server, saw that permissions were retained ( all owned by ebox:ebox)

NONE of the emails show in webmail when testing. 

Could this be the problem: "Postfix now binds to LDAP" from 3.2 feature list.

If so, how would anyone move emails from an unbootable server???
Can I have postfix reload all the mail?  Command "postfix reload" simply re-reads the config files, apparently
Can I transfer the postfix part of LDAP from old server to new? 

Thanks!
« Last Edit: December 18, 2015, 06:21:27 pm by tomfromdare »

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: migrate emails from Zentyal 3.2 to 3.5
« Reply #1 on: December 18, 2015, 06:28:15 pm »
Maildir folders structure has changed. Mails now sit on a Maildir subfolder

tomfromdare

  • Zen Apprentice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: migrate emails from Zentyal 3.2 to 3.5
« Reply #2 on: December 19, 2015, 04:53:24 am »
I saw no difference in the directory structure.  Made a tar of each user from /var/vmail/domainname.com/ in Zentyal 3.2.
When I went to the same folder in Zentyal 3.5, I saw the new user names I had created, so untarred over them.

/etc/postfix/main.cf has many references to aliases, and several ldap: specs.  So, it seems reasonable that both Zentyal versions are using ldap to do the lookups, but I didn't know how to bring the postfix ldap info from the old server.

Thanks