Thunderbird from windows to linux

Блог компьютерного гения

Интернет, гаджеты и технологии

Mozilla Thunderbird: Перенос почты между Windows и Linux

В предыдущих записях я уже упоминал об установке XUbuntu Linux на свой нетбук. Xubuntu я поставил второй системой рядом с Windows. Естественно, возникла необходимость переноса некоторых данных, в том числе архивов электронной почты. Как оказалось, делается это с кроссплатформенным клиентом Mozilla Thunderbird очень просто. Достаточно скопировать содержимое папки с профайлом. Хотя MozBackup (утилита для резервного копирования и восстановления профайлов программных продуктов Mozilla) есть только под Windows, в данном случае эта утилита нам не понадобится. Нам достаточно знать только расположения папок профайлов под разными системами.

В Windows XP по умолчанию каталог с профайлами находится в папке:
C:\Documents and Settings\USERNAME\Application Data\Thunderbird\
, где USERNAME — имя вашего пользователя.
В Windows Vista и выше это:
C:\Users\USERNAME\AppData\Roaming\Thunderbird\
В Ubuntu и производных дистрибутивах (Kubuntu, Xubuntu, Edubuntu и т.д.; возможно, и в других дистрибутивах Linux) это:
/home/USERNAME/.thunderbird

Можно копировать папку с профайлами как из Windows в Linux, так и обратно. Вот такое легкое решение предоставляет нам Mozilla.

7 Комментарии。

А как из линукс на андроид перенести??

Thunderbird есть под Android? Я пока не в курсе 🙂

Разве в путях каталогов виндовс бывают прямые слеши?

FOSSwire

Migrate your Thunderbird emails from Windows to Linux

If you’re experimenting with Linux, or even moving over to it and you’re currently using Thunderbird as your email client on Windows, you might be wondering how to move your emails and profile from Windows over to Linux.

This process can even be used as part of a bigger project, for example to move from Outlook Express or another Windows-only email client on Windows to Thunderbird on Linux. If you first Import from your Windows client to Thunderbird on Windows, you can then follow this tutorial to move that over to Linux. But anyway, let’s get on.

The first thing I recommend doing isn’t essential, but can prevent headaches later. In your Windows copy of Thunderbird, go to File > Compact Folders. This cleans your mail folders up and can prevent issues with unread counts not being correct once your profile folder has been migrated over.

The process is reasonably simple, provided you know where your profile folder is on Windows and can transfer the files somehow between Windows and Linux. To find your profile folder, follow the instructions on this page that pertain to the version of Windows you are running.

Once you’ve found that profile folder (and you’re inside Thunderbird > Profiles), there should be a randomly named folder ending with .default. Copy this folder somehow to your Linux machine.

Over on Linux, we first need to remove any existing profile information for Thunderbird if you’ve opened it already. Obviously, make sure you’re not actually using Thunderbird on this user account for anything important, or this step will end up deleting all your email there. You have been warned.

Go into your home folder on Linux, and choose View > Show Hidden Files. If you’ve already opened Thunderbird, there will be a folder called .thunderbird (Debian and Ubuntu users, .mozilla-thunderbird). Delete it — as long as you’re sure there’s nothing important there.

Now (re)create that folder, so right-click, Create New Folder and name the folder .thunderbird, or .mozilla-thunderbird on Debian/Ubuntu. Go inside your new folder and paste your profile folder that you copied from Windows.

There is one final step you need to take to get your mail up and running in Linux. Inside .thunderbird, you need to make a file called profiles.ini. Do a right-click and create a new text file in the folder, and name it profiles.ini. Open up this new file in a text editor, and paste in the following:

[General]
StartWithLastProfile=1
[Profile0]
Name=default
IsRelative=1
Path=xxxxxxxx.default

Replace the xxxxxxxx with the real name of your profile folder that you pasted. Save the file and quit, and now launch Thunderbird. Your email should load up as if nothing has happened and all your archives should be up and rolling.

Should you run into any problems with folder unread counts being incorrect as I mentioned above, you’ll have to go through the affected folders, mark items so that the unread count is correct again, then perform File > Compact Folders to force those changes to save to disk, or the problem will reoccur.

Moving Thunderbird email setup from win10 to Linux Ubuntu

As the title say. I need to move my whole Thunderbird setup to Linux Ubuntu. I want to move the whole setup with Mail and News accounts. Can I move the Config files ? Would the T-bird Linux version read the Windows files ? What files do I have to move ? I atleast need all the server passwords so I can fetch the old mail from the servers. Is there any easier way Like in Firefox (with the firefox account system)

Читайте также:  Windows server webdav https

Any help would be much appreciated.

Since someone Did not know what «Thunderbird» are I add some info. Thunderbird is a Mail and News software That have versions for different operating systems. In this case a Setup in Windows 10 and are going to be moved to a Linux Debian system (v20.x). The Thunderbird Version on Windows 10 Computer are v68.8.0 Windows 10 pro v1903

1 Answer 1

Yes, moving your profile folder from Windows to Linux will work:

  • Important: Make sure you run the same version of Thunderbird on Linux that you run on Windows.
    • If the version on Windows is behind of the version on Linux, go to http://archive.mozilla.org/pub/thunderbird/releases/, download and upgrade your Windows version to the exactsame version you run on Linux. Do not upgrade to a newer version!
    • If the version on Linux is behind of the version on Windows, check if a newer version was backported.
  • Open Thunderbird on Windows.
  • Click on File >Compact Folders * and wait until all folders were processed (watch the statusline).
  • Click on Help >Troubleshooting Information *. Then hit the Open Directory button:
  • Close Thunderbird
  • Delete the pkcs11.txt file.
  • Go up one folder
  • Copy the XXXXXXX.default(-release) folder to an USB drive.
  • Open Thunderbird on Linux.
  • Click on Help >Troubleshooting Information *. Then hit the Open Directory button:
  • Close Thunderbird
  • Go up one folder
  • Remove the YYYYYYYY.default(-release) folder
  • Copy the XXXXXXXX.default(-release) folder from your USB drive.
  • Edit the profiles.ini file with an editor of your choice and replace each occurrence of YYYYYYYY.default(-release) with XXXXXXXX.default(-release).
  • Start Thunderbird on Linux — everything should be in place now.

* If the menu is not visible, hit the left Alt key on your keyboard.

Установка Thunderbird на Linux

Эта статья покажет вам, как установить Thunderbird на Linux. Для получения информации об установке на другие операционные системы прочитайте статьи Установка Thunderbird на Windows и Установка Thunderbird на Mac.

Многие дистрибутивы Linux включают Thunderbird по умолчанию и большинство из них имеют систему управления пакетами (менеджер пакетов), которая позволяет вам легко установить Thunderbird. Как правило, вы должны использовать систему управления пакетами, потому что это позволит:

  • Убедиться, что у Вас есть все необходимые библиотеки
  • Установить Thunderbird так, чтобы он работал с дистрибутивом наилучшим образом
  • Создать ярлыки для запуска Thunderbird
  • Сделать Thunderbird доступным для всех пользователей компьютера
  • Удалять Thunderbird так же, как удаляется любое другое приложение

Менеджер пакетов также имеет некоторые недостатки:

  • Он может не предоставлять вам последнюю версию Thunderbird
  • Он может предоставлять вам версию без бренда Thunderbird

Установка с помощью менеджера пакетов

Чтобы установить Thunderbird, используя менеджер пакетов, пожалуйста, обратитесь к документации дистрибутива Linux, который вы используете.

Установка без использования менеджера пакетов

Полные инструкции по установке Thunderbird без использования менджера пакетов могут быть доступны на веб-сайте поддержки вашего дистрибутива. Например:

  • Перед установкой Thunderbird, убедитесь, что на вашем компьютере установлены необходимые библиотеки. Отсутствие библиотек приведёт к неработоспособности Thunderbird.
  • Установочный файл, предоставленный Mozilla в формате .tar.bz2, содержит не исходные коды, а предварительно скомпилированные двоичные файлы, поэтому вы можете просто распаковать и запустить их. Нет никакой необходимости компилировать программу из исходников.
  • Следующие инструкции предназначены для установки Thunderbird в вашем домашнем каталоге и только текущий пользователь сможет запустить его.
  1. Загрузите Thunderbird со страницы загрузки Thunderbird в ваш домашний каталог.
  2. Откройте Терминал и перейдите в ваш домашний каталог: cd
  • Извлеките содержимое загруженного файла: tar xjf thunderbird-*.tar.bz2
  • Закройте Thunderbird, если он открыт.
  • Для запуска Thunderbird, выполните скрипт thunderbird в папке thunderbird :

    Теперь Thunderbird должен запуститься. Вы можете затем создать ярлык запуска на рабочем столе для выполнения этой команды.

    Ошибка библиотеки libstdc++5

    Как отмечалось выше, вам нужно установить необходимые библиотеки, чтобы Thunderbird мог работать. Многие дистрибутивы не включают библитеку libstdc++5 по умолчанию.

    Показывается сообщение «Thunderbird не установлен» или запускается неправильная версия Thunderbird

    Если Thunderbird был установлен согласно приведенным выше инструкциям, он должен запускаться (например, в Терминале или ярлыком запуска на рабочем столе) с помощью команды:

    Если вы пытаетесь запустить Thunderbird в Терминале с помощью команды: thunderbird , он либо запустит версию Thunderbird установленную через менеджер пакетов, либо сообщит вам, что программа не установлена.

    Эти прекрасные люди помогли написать эту статью:

    Станьте волонтёром

    Растите и делитесь опытом с другими. Отвечайте на вопросы и улучшайте нашу базу знаний.

    Thunderbird from windows to linux

    Hi: I’m trying to move, copy or migrate my Thunderbird account from Windows 7 to Linus Mint. I thought I could just use my Thunderbird Profile but nothing on the web seems to show Windows to Linux. I’ve found great support before from this site but I can’t seem to get directions on how to do this by searching the web.. I know how to copy my Thunderbird file from windows explorer and paste it to a usb flash drive but I don’t know how or where to move, copy or paste it into the Linux .thunderbird file . Do I just replace the Linux .thunderbird file with the windows thunderbird file and it just overwrites it or what? I just know there must be a way to do this; especially now that Windows 7 is no longer supported by Microsoft. Can anyone please help? Thanks for your assistance.

    Читайте также:  Хранилище данных для windows

    Chosen solution

    I may have been too quick in saying to just replace the .thunderbird folder with the Thunderbird folder. The structure of the TB data is different in Linux and Windows, and different even among different types of Linux.

    The profile folder in Linux is stored in this location:

    whereas on Windows it is in:

    The Thunderbird folder contains a Profiles subfolder and two .ini files. The Profiles folder contains the profile folder,

    Linux doesn’t have a Profiles folder, so all profile folders are subfolders of .thunderbird, and the two ini files from Windows should be copied into the .thunderbird folder. So, copy the contents of the Windows Profiles folder, i.e. the profile folder(s), into an empty .thunderbird folder in Linux. Copy the two .ini files, plus the other contents of the Thunderbird folder, i.e. Crash Reports, Pending Pings and registry.dat, into .thunderbird, after deleting any existing versions already there.

    I suppose a quick way to do all this would be to delete the existing .thunderbird folder, replace it with the Thunderbird folder, cut the profile folders from Profiles and paste them into the Thunderbird folder, delete the empty Profiles folder, and finally rename Thunderbird to .thunderbird.

    Edit: If the above still doesn’t work, it’s probably because the profiles.ini from Windows includes the Profiles folder in the Path definition for the profile folder. You would have to remove Profiles from the path, by editing the ini in a text editor. But the original suggestion to replace .thunderbird contents with Thunderbird contents should also work.

    All Replies (17)

    The standard article for moving to a new computer, or restoring to any computer, for Windows, is:

    The Linux version is:

    Basically, you copy the Thunderbird folder on the Windows computer: C:\Users\winusername\AppData\Roaming\Thunderbird

    delete the contents of the .thunderbird folder in Linux, then copy the contents of the Thunderbird folder into the empty .thunderbird folder. If it were Windows to Windows, you would simply replace the TB folder on the target with the one from the source.

    Do all of this with TB closed on both computers. One more thing: if you had stored passwords on the Windows computer, delete pkcs11.txt from the Linux profile folder before starting TB.

    Problem not solved yet. Hi sfhowes::Please accept my apologies for not getting back with an answer. Your immediate response was very much appreciated. I lost my IP service for a few days because of a ice, snow & blizzard storm. In the meantime I’ve tried to follow your instructions & even practiced each step & it seems easy. I keep getting stuck by the following message; «The Inbox is too large for the destination file system». This happens when I try to download my Windows 7 Thunderbird file to any usb or external drive. I’m going to try to send a print screen copy, but if the printscreen isn’t included with this, essentially the problem seems to be my Thunderbird Inbox for some reason is too large for the destination file system. I don’t know how to fix this. Any help you can provide would be greatly appreciated. I use this Inbox folder everyday, so how can it be «too large for the destination file»? My Inbox folder is 28.7 GB in size. Thank you for your help.

    Modified January 23, 2020 at 11:08:51 PM PST by joyce Hansen

    How is your USB or external drive formatted? If it’s FAT32, which many are to be compatible with some media players, there is a 4GB file size limit. If you format the drive as NTFS, you shouldn’t face any practical limits on file size.

    I tried 2 different 64GB flash drives that were formatted to fat32 and it didn’t work, got the message «The Inbox is too large for the destination file system». So even though 64GB should have fit it said it didn’t. Being a Newbie, I thought maybe a 1TB external drive would be large enough & 28reformatted it to fat32 and got the same message «The Inbox is too large for the destination file system». I didn’t know it might work with NTFS in Linux. Should I reformat the external 1TB to NTFS and see if that works? I didn’t know a 28.7GB file was too large for fat32 or Thunderbird. My sister’s files are much larger than that. Thanks so much for your excellent help & instructions & prompt response. So reformat to NTFS? Please let me know. Joyce Hansen

    Читайте также:  Изменить планировщик ввода вывода linux

    A 64GB drive or card that’s FAT32 still can’t store a file larger than 4GB, it just has room for 15 or 16 3.9GB files. It’s the format type that matters, not the drive capacity.

    Format the USB or external drive to NTFS, copy the files to the drive, and then it should be readable on any Windows or Linux compute.

    Hi sfhowes: I think I messed up my LM Thunderbird. When I pasted the Windows Thunderbird, instead of asking me to «replace data» something appeared asking if I wanted to «merge» and give a new destination (I have no idea what the destination should be. Should I uninstall and reinstall the LMThunderbird and if so how?

    Reformatting the flash drive with NTFS worked great.

    Here are the instructions I followed when it did not ask me to «replace data», and instead wanted me to «merge data».

    Right-click inside the folder, and select Paste. This gave me «merge data» instead of «replace data». Since this didn’t seem to work I thought I could just replace the LM Thunderbird Profile with the Windows Thunderbird. Think this was a big mistake on my part. Now LM Thunderbird doesn’t work at all because I deleted its profile.

    There is nothing, data wise I’d lose in LM Thunderbird because I never used it. How do I uninstall it, then install a new Linux Mint Thunderbird, so I can again try to move Windows Thunderbird.

    Sorry I didn’t get this right. I don’t understand why it didn’t ask me to «replace data» and must have done something wrong. Would the LM Thunderbird having an email address already have caused this? I’m at a loss and hope you can help. Thanks for all you’ve done for me and all the others you have helped. I wish I knew enough to help myself and others. I’m trying to learn as fast as I can and appreciate you giving back to us.

    Chosen Solution

    I may have been too quick in saying to just replace the .thunderbird folder with the Thunderbird folder. The structure of the TB data is different in Linux and Windows, and different even among different types of Linux.

    The profile folder in Linux is stored in this location:

    whereas on Windows it is in:

    The Thunderbird folder contains a Profiles subfolder and two .ini files. The Profiles folder contains the profile folder,

    Linux doesn’t have a Profiles folder, so all profile folders are subfolders of .thunderbird, and the two ini files from Windows should be copied into the .thunderbird folder. So, copy the contents of the Windows Profiles folder, i.e. the profile folder(s), into an empty .thunderbird folder in Linux. Copy the two .ini files, plus the other contents of the Thunderbird folder, i.e. Crash Reports, Pending Pings and registry.dat, into .thunderbird, after deleting any existing versions already there.

    I suppose a quick way to do all this would be to delete the existing .thunderbird folder, replace it with the Thunderbird folder, cut the profile folders from Profiles and paste them into the Thunderbird folder, delete the empty Profiles folder, and finally rename Thunderbird to .thunderbird.

    Edit: If the above still doesn’t work, it’s probably because the profiles.ini from Windows includes the Profiles folder in the Path definition for the profile folder. You would have to remove Profiles from the path, by editing the ini in a text editor. But the original suggestion to replace .thunderbird contents with Thunderbird contents should also work.

    / whereas on Windows it is in: C:\Users\»username»\AppData\Roaming\Thunderbird\Profiles\

    The Thunderbird folder contains a Profiles subfolder and two .ini files. The Profiles folder contains the profile folder,

    . Linux doesn’t have a Profiles folder, so all profile folders are subfolders of .thunderbird, and the two ini files from Windows should be copied into the .thunderbird folder. So, copy the contents of the Windows Profiles folder, i.e. the profile folder(s), into an empty .thunderbird folder in Linux. Copy the two .ini files, plus the other contents of the Thunderbird folder, i.e. Crash Reports, Pending Pings and registry.dat, into .thunderbird, after deleting any existing versions already there. I suppose a quick way to do all this would be to delete the existing .thunderbird folder, replace it with the Thunderbird folder, cut the profile folders from Profiles and paste them into the Thunderbird folder, delete the empty Profiles folder, and finally rename Thunderbird to .thunderbird. Edit: If the above still doesn’t work, it’s probably because the profiles.ini from Windows includes the Profiles folder in the Path definition for the profile folder. You would have to remove Profiles from the path, by editing the ini in a text editor. But the original suggestion to replace .thunderbird contents with Thunderbird contents should also work.

    Modified January 27, 2020 at 12:59:46 PM PST by sfhowes

  • Оцените статью