Before upgrading to Mac OS X Lion with a clean install, I backed up Mail app according to this article on Apple Discussions. I know have the com.apple.mail file and the Mail directory and I have no idea how to restore it. As it seems, theses paths have changed. Do you have any ideas on how to restore my emails?

I've done that already. It didn't work and that's why I'm asking it here. Any more suggestions?
– JoãoAug 15 '11 at 22:46

@João I have confirmed this process works with a clean install of Lion. If it didn't work for you, you may be experiencing a different problem. Are there any more details you can provide?
– Adam LassekAug 15 '11 at 23:34

No, @Adam. But hey, I completely forgot I had all my emails stored on my server, so no big deal. I tried doing it a few more times, but it didn't work for me. I'm not using a DP version of Lion, I'm using the one from App Store (I know it may not make the difference, but it's the only extra detail I've got).
– JoãoAug 16 '11 at 11:20

I've done that already. It didn't work and that's why I'm asking it here. Any more suggestions?
– JoãoAug 15 '11 at 22:46

@João Ramos You are completely spot on. Copying the mail.plist and even any other preference file related to mail does not work any longer in Lion. It is a real pain in the neck. This worked for as long as OS X existed, on top of that they killed off mobile me. I did not realize that it was killing off also the synchronization of the mail accounts. Yes it was clearly stated by Apple, however somehow I was thinking about iPhone and iPad which can be synchronized. The only other option seem to use migration assistant, but that makes not much sense as it is an all or nothing approach. That leaves
– user12242Oct 17 '11 at 17:53