LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-06-2022, 05:15 PM   #1
Janvanl
Member
 
Registered: Apr 2015
Posts: 145

Rep: Reputation: Disabled
postfix and dovecot - email files in var/vmail - can they be copied to a new server


Hi

i have to transfer all domains etc etc to another server after a distupgrade from ubuntu 18.04 to 20.04 went unstable and partially stopped working.

I have found that all emaildata is in /var/vmail where emails are saved in readable text the content of every email looks exactly like an eml-file just the name of the file is a lot of nuumbers, the servername and some parameters(?).

Can one copy these files to a new server where the same email-address is made, will that work?

Regards,
Jan
 
Old 05-06-2022, 05:36 PM   #2
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Yes.
 
1 members found this post helpful.
Old 05-07-2022, 02:40 AM   #3
Janvanl
Member
 
Registered: Apr 2015
Posts: 145

Original Poster
Rep: Reputation: Disabled
Thanks descendant command,

i was a bit unsure but will try it today with an unimportant email-account.
If this works like you confirmed it will save me loads of time.

Regards,
Jan
 
Old 05-14-2022, 08:01 AM   #4
Janvanl
Member
 
Registered: Apr 2015
Posts: 145

Original Poster
Rep: Reputation: Disabled
Thanks descendant command,

that was the perfect answer!
Saves me a lot of time.

Regards,
Jan
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail Server with : Postfix,dovecot. (Can send email, but can't receive email from internet mail) cparapat Linux - Server 1 08-16-2010 12:57 AM
cmusieve with vmail ubuntu server jaunty Jmorales22 Linux - Server 0 10-14-2009 11:59 AM
Debian Etch - Postfix+Courier+MySQL+VMail problem - VMail is not created vargadanis Linux - Networking 0 08-30-2007 04:35 AM
Postfix won't move mail from /var/spool/mail to /home/vmail jmoschetti45 Linux - Server 13 03-07-2007 06:03 AM
prevent files from getting copied even though they have read permission arnieboy Linux - Security 9 10-08-2003 03:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration