Koozali.org: home of the SME Server

Importing old email from backup?

Offline askelon

  • ***
  • 59
  • +0/-0
Importing old email from backup?
« on: March 05, 2005, 11:31:46 PM »
I backed up my server with backup2ws and reinstalled the server.  I tried restoring the \home\e-smith\files\users\ directory but the email all comes up as from:    with no subject..  Does anyone have any suggestions?

Offline raem

  • *
  • 3,972
  • +4/-0
Importing old email from backup?
« Reply #1 on: March 05, 2005, 11:51:49 PM »
I saw this recently, you will probably find that permissions are wrong. For each user check ownership of /Maildir folder and subfolders and files. If required, do something like
chown -R username:username Maildir
for each user
...

Offline askelon

  • ***
  • 59
  • +0/-0
Importing old email from backup?
« Reply #2 on: March 06, 2005, 01:10:56 AM »
ok Ive worked out whats happening now - I changed the permissions as you said, and yes they were all up the creek..  The problem seems to stem from me extracting the msg files with WinRAR.  It is 0 byting the message files so I copied the .rar images to my server and tried unraring with unrar / rar but it cant open the archives..  Anyone got any suggestions from this point? :)