Convert a POP account to a IMAP account: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(added to IMAP category)
(Rewording)
 
Line 1: Line 1:
{{Tbsuite}}
{{Tbsuite}}


Thunderbird doesn't support converting a POP account to a IMAP account. Its possible to hack the files in the profile to convert the account, but its tricky and time consuming and requires knowledge most users don't have. Its much quicker and safer to create a new account and move the messages to it, and then delete the old account.  
Thunderbird doesn't support converting a POP account to a IMAP account. It's not as simple as editing the accounts server settings. Its possible to convert the account by modifying some settings using the config editor and moving some files but that requires understanding how accounts are implemented that most users don't have. Its much quicker and safer to create a new account and move the messages to it, and then delete the old account.  


:* Backup your profile using something like [[MozBackup | Mozbackup]].
:* Backup your profile using something like [[MozBackup | Mozbackup]].
:* Create a [[IMAP | IMAP]] account using Tools -> Account Settings -> Add Account
:* Stop the POP account from checking for new messages by unchecking the two boxes for checking for new messages in Tools -> Account Settings -> account_name -> Server Settings
:* Move the messages from the POP account to the IMAP account, or to folders in the [[Local_Folders | Local Folders]] directory. Thunderbird 1.5 and later support dragging and dropping a folder to the IMAP account. Otherwise you need to create the destination folder, select all of the messages you want to move (Control-A or Edit -> Select -> All) and then use Message -> Move to move the messages to the remote folder.  
:* Create the [[IMAP | IMAP]] account using Tools -> Account Settings -> Account Actions -> Add Account
:* Move the messages from the POP account to the IMAP account (or to [[Local_Folders | Local Folders]]). If a folder with the same name doesn't already exist in the IMAP account you can just drag and drop it to the IMAP account. Otherwise select all of the messages you want to move (Control-A or Edit -> Select -> All) and then use Message -> Move to move the messages to the remote folder.  
:* Compact the folders in the POP account using File -> Compact Folders.
:* Compact the folders in the POP account using File -> Compact Folders.
:* If you have any [[Filters_%28Thunderbird%29 | message filters]] you can exit Thunderbird and move the "msgFilterRules.dat" file from the directory named after your POP server in the Mail subdirectory in your [[Profile_folder | profile]] to the directory named after your IMAP mail server in the ImapMail subdirectory. That will let you reuse the message filters. If you used a [[Global_Inbox | global inbox]] the file would be in the [[Local_Folders | Local Folders]] directory. If this is too confusing just create new message filters.
:* If you have any [[Filters_%28Thunderbird%29 | message filters]] you can reuse them by moving the "msgFilterRules.dat" file from the "local directory" of the POP account (or Local Folders if you had configured the POP account to used a [[Global_Inbox | global inbox]]) to the "local directory" of the IMAP account. The "local directory" is specified at the bottom of the server settings pane, next to the Browse button.<p>If this is too confusing just create new message filters.
:* Verify the IMAP account is working okay and you didn't forget to move any messages. Then delete the POP account using Tools -> Account Settings -> RemoveAccount.
:* Verify the IMAP account is working okay and you didn't forget to move any messages. Then delete the POP account using Tools -> Account Settings -> Account Actions -> RemoveAccount.
:* If you had created [[Multiple_identities_per_e-mail_account | multiple identities]] for the POP account you will need to re-create them for the IMAP account. This is a optional feature mainly used to let you use a different From: address and/or Sent folder when composing a message.  
:* Thunderbird doesn't delete the files used in a deleted account. You may want to exit Thunderbird and delete the subdirectory named after the POP server. However, since you emptied and compacted its folders its not wasting a lot of space.
:* Thunderbird doesn't delete the files used in a deleted account. You may want to exit Thunderbird and delete the subdirectory named after the POP server. However, since you emptied and compacted its folders its not wasting a lot of space.


==See also==
==See also==
*[[IMAP:_advanced_account_configuration | IMAP advanced account configuration]]
*[[IMAP:_advanced_account_configuration | IMAP advanced account configuration]]
*[[Importing folders]]
*[[Profile backup]]
*[[Recovering_deleted_mail_accounts | Recovering deleted mail accounts]]
*[[Recovering_deleted_mail_accounts | Recovering deleted mail accounts]]


[[Category:Configuration (Thunderbird)]]
[[Category:Configuration (Thunderbird)]]
[[Category:IMAP]]
[[Category:IMAP]]

Latest revision as of 20:47, 3 June 2018

This article was written for Thunderbird but also applies to Mozilla Suite / SeaMonkey (though some menu sequences may differ).

Thunderbird doesn't support converting a POP account to a IMAP account. It's not as simple as editing the accounts server settings. Its possible to convert the account by modifying some settings using the config editor and moving some files but that requires understanding how accounts are implemented that most users don't have. Its much quicker and safer to create a new account and move the messages to it, and then delete the old account.

  • Backup your profile using something like Mozbackup.
  • Stop the POP account from checking for new messages by unchecking the two boxes for checking for new messages in Tools -> Account Settings -> account_name -> Server Settings
  • Create the IMAP account using Tools -> Account Settings -> Account Actions -> Add Account
  • Move the messages from the POP account to the IMAP account (or to Local Folders). If a folder with the same name doesn't already exist in the IMAP account you can just drag and drop it to the IMAP account. Otherwise select all of the messages you want to move (Control-A or Edit -> Select -> All) and then use Message -> Move to move the messages to the remote folder.
  • Compact the folders in the POP account using File -> Compact Folders.
  • If you have any message filters you can reuse them by moving the "msgFilterRules.dat" file from the "local directory" of the POP account (or Local Folders if you had configured the POP account to used a global inbox) to the "local directory" of the IMAP account. The "local directory" is specified at the bottom of the server settings pane, next to the Browse button.

    If this is too confusing just create new message filters.

  • Verify the IMAP account is working okay and you didn't forget to move any messages. Then delete the POP account using Tools -> Account Settings -> Account Actions -> RemoveAccount.
  • If you had created multiple identities for the POP account you will need to re-create them for the IMAP account. This is a optional feature mainly used to let you use a different From: address and/or Sent folder when composing a message.
  • Thunderbird doesn't delete the files used in a deleted account. You may want to exit Thunderbird and delete the subdirectory named after the POP server. However, since you emptied and compacted its folders its not wasting a lot of space.

See also