On 02/20/18 15:15, steve76 wrote:
> On 02/20/2018 01:10 PM, steve76 wrote:
>> Hi,
>>
>> Usually, if I want to change the Email server, I move the following
>> files placed at /var/spool/mail/*
>> ON the new server, I found again the email for each user...
>> We are using IMAP servers....
>>
>> our email client is Thunderbird.
>>
>> but I can see any folder created into the Inbox.. ( so on the server
>> ) is LOST !!!
>
> This is Dovecot who managed folders into thunderbird.. so, this is into
> /home/<user>/mail/INBOX
>
> OK, but now, what is important to save ??
>
> * /home/<user>/mail/INBOX ( for folders ) + /var/spool/mail/ ( for
> the INBOX ?
I would take the whole ~/mail directory and move it to the new server,
just see to change owner/group if the two machines has different uid/gid
for the same user name.
If dovecot handles mail delivery, then /var/spool/mail should be empty.
if you have files there, then use ls -l to see how old they are, they
may be from a time before you used dovecot.
--
//Aho