2

Ok, I was having a bug with my mail. Basically a while ago I got hacked and needed to completely reinstall ubuntu server. I managed to save most of my data, but for some reason wasn't able to copy my home Maildir. I'm guessing it's something to do with the file format used in Maildir. What I did manage to copy I copied into my home directory after the clean install. After this, once I'd gotten everything set up. I kept getting a strange error. I couldn't find an answer, but assumed it was something to do with the home Maildir so deleted it. I now need a way of putting one back in. I can't find any advise anywhere. How would I go about putting one back in.

Any advise would be appreciated, thanks.

1 Answers1

3

The Maildir is actually very simple. It's just a directory with three subdirs: new, cur, and tmp. You can create them all with a single command:

mkdir -p Maildir/{cur,new,tmp}
philsf
  • 864