Author Topic: manually importing emails  (Read 6597 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
manually importing emails
« on: August 02, 2016, 01:43:04 PM »
Hi,
yesterday I have installed CWP for the first time. I've got most things up and running.
Today I imported my emails from a DirectAdmin based web server. I followed the instructions here:
http://wiki.centos-webpanel.com/how-to-manually-import-emails
The chown didn't quite work as described because the mail folders are all hidden. So I went one folder up (/var/vmail/<domain>) and then did
Code: [Select]
chown -R vmail:mail *
I do see all folders and emails in Roundcube now. However, 2 small problems:

- all emails (thousands in many folders) are marked unread
- all emails do not show the date they were received (the column is empty)

The first one can be solved by just marking them read, but that would take quite a while, so it would be good if there was a better way (even if it means marking *all* emails read).
But the date is a bigger issue for me. Is there any way I can get the dates imported with the emails?

Thanks in advance!
Chris

Offline
*****
Re: manually importing emails
« Reply #1 on: August 03, 2016, 08:38:51 AM »
you need to add date time zone in php in order to see the dates

Offline
*
Re: manually importing emails
« Reply #2 on: August 03, 2016, 08:49:17 AM »
ahaa! thank you very much. that resolved the date issue. ;-)

any idea about the other problem where all emails are marked unread?