Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Sendmail and folders

10 views
Skip to first unread message

steve76

unread,
Feb 20, 2018, 7:11:02 AM2/20/18
to
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 !!!
I am not sure if the emails are back into th INBOX or not...

how are manage the folders ?
I sppose that this is a way to organise the INBOX and everything is into
the < user> file ??

Same problem with the SENT folder..

on /var/spool/mail.. this is just a file.. there is no folder... where
are the folder ??
Locally on the PC ? I don't think so.. SO I am lost

NB: On Thunderbird, the folder location is :
imap://<USER><@<Server>/INBOX/test

It's lying ? :-)

Andrzej Adam Filip

unread,
Feb 20, 2018, 9:11:48 AM2/20/18
to
steve76 <nor...@foo.com> wrote:
> 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....
> [...]

Which IMAP server do you use?

--
[Andrew] Andrzej A. Filip - https://www.linkedin.com/in/andfil

steve76

unread,
Feb 20, 2018, 9:15:11 AM2/20/18
to
aah !! I am blowdy stupid...
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 ?


J.O. Aho

unread,
Feb 20, 2018, 12:00:16 PM2/20/18
to
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

steve76

unread,
Feb 20, 2018, 1:24:19 PM2/20/18
to
I am using dovecot as mail delivery...
But I've noticed that a new incoming email is sent to *var/spool/mail/user1

Should it desappear from /var/spool/mail/user1 ???

( That's I am not sure... )

But effectivelly, I had some emails in var/spool/mail... before using
Dovecot..



J.O. Aho

unread,
Feb 20, 2018, 3:20:57 PM2/20/18
to
OK, your config differ from mine, I get the new mail to ~/mail, in your
case you need both.

> Should it desappear from /var/spool/mail/user1 ???

Copy that too to the new one too.

--

//Aho

steve76

unread,
Feb 21, 2018, 7:55:51 AM2/21/18
to
thank you !
OK , I had the problem to have Already started the new server, so I had
to merge som folder... I found a solution.. copying all email locally,
backup the old email and copy back oin each folder..
Works OK....

Effectively, I need to have both Dovecot folder + the content of
/var/spool/mail...

Thanks for your help
0 new messages