Tag: mail files

Moving and Sharing Email files on cPanel

It initially seemed easy enough, but turned out it was not. I moved a customer to a new host, and she wanted a copy of all her emails on the old host.

So I ssh’d into both and copied over the /mail directory, which contained all her emails. Now I had a copy of all her email on the new server.

The mail directory structure is:
/mail
/.person2@domain-name_com
/.subdirectory-name
/cur

Within the cur directory are message files with names such as

1503689147.M825641P101251.box909.host-provider.com,S=16683374,W=16900128:2,RS