Skip to main content

Table of Contents


Vacation Mail


Email Saving

Saving IMAP email into local folders

Reviewed by Murray Anderegg 02/27/2013

This document describes how to save all of your IMAP email into local folders, which may be copied to another machine or site.  If you are moving your email to another site and you already have access from that site, then create an email account at that site and transfer the mail over in the most convenient way.  For example, in Thunderbird, you can set up both accounts on your Thunderbird client and then drag email a folder at a time from one IMAP account to another.

If you wish to archive email to media such as a DVD, then you will need to save the data locally and then use your favorite DVD burner software to “burn” the data onto the DVD.

The remainder of this page describes how to save email to local folders under Linux, Windows, and Macintosh operating systems.

Saving to local folders in Linux

Presumption: you are using a mozilla type email reader (e.g., Thunderbird).

Under Mozilla (as of Thunderbird-3.1.7), under the File menu is the sub-menu, Offline, and in there the menu item, Offline Settings.  This brings you to the ‘Offline and Disk Settings’ dialog of the ‘Mail and News Account Settings’ preferences.  In this dialog, the user can select whether to mark the inbox as offline, set new folder offline creation preferences, and select other folders for offline use.  Click the ‘Select’ button to bring up a selection dialog of folders. Select any folders that you wish to save locally.

Remember to descend into folders and subfolders to mark all of the folders that you wish to save.

Offline folders are saved in your ~/.mozilla/<username>/<hashed profile name>/ImapMail/<imap server name> directory.  For example, user anderegg’s folders are saved in ~anderegg/.mozilla/anderegg/sbt7x301.slt/ImapMail/imap1.cs-old.sites.unc.edu/INBOX.

When you are finished selecting folders, select OK.  Return to the File menu, Offline submenu and select ‘Download/Sync Now’ to begin a transfer of all marked folders to your ‘Local Folders’ directory.

Saving to local folders in Windows

Presumption: you are using a mozilla type email reader.

Under Mozilla (as of Thunderbird-3.1.7), under the File menu is the sub-menu, Offline, and in there the menu item, Offline Settings.  This brings you to the ‘Offline and Disk Settings’ dialog of the ‘Mail and News Account Settings’ preferences.  In this dialog, the user can select whether to mark the inbox as offline, set new folder offline creation preferences, and select other folders for offline use.  Click the ‘Select’ button to bring up a selection dialog of folders. Select any folders that you wish to save locally.

Remember to descend into folders and subfolders to mark all of the folders that you wish to save.

Offline folders are saved in your mozilla profile directory.  To see where this is in Thunderbird, click “Tools”, then “Account Settings”, and then on the left click “Local Folders”.  The location of your local folder directory is displayed on the right side of the window.

When you are finished selecting folders, select OK.  Return to the File menu, Offline submenu and select ‘Download/Sync Now’ to begin a transfer of all marked folders to your ‘Local Folders’ directory.

Saving to local folders on a Mac

Presumption: you are using a mozilla type email reader.

Under Mozilla (as of thunderbird-3.1.7), under the File menu is the sub-menu, Offline, and in there the menu item, Offline Settings.  This brings you to the ‘Offline and Disk Settings’ dialog of the ‘Mail and News Account Settings’ preferences. In this dialog, the user can select whether to mark the inbox as offline, set new folder offline creation preferences, and select other folders for offline use.  Click the ‘Select’ button to bring up a selection dialog of folders.  Select any folders that you wish to save locally.

Remember to descend into folders and subfolders to mark all of the folders that you wish to save.

Offline folders are saved in your mozilla profile directory.  This directory is usually located in /Users/<username>/Library/Preferences/Thunderbird.

When you are finished selecting folders, select OK.  Return to the File menu, Offline submenu and select ‘Download/Sync Now’ to begin a transfer of all marked folders to your ‘Local Folders’ directory.


Mail Lists


Accessing Google mail via Thunderbird

How to access your CS department Google mail account with Thunderbird

Reviewed by Bil Hays 2019-12-20

To access Google mail with Thunderbird, you will need to:

  • Create an application password.
  • Activate IMAP in Gmail and configure Thunderbird to use Google as an incoming mail server.
  • Configure and outgoing mail server, which might as well be Google as well.

 

Application Password

Thunderbird does not work well with two factor authentication, so you will need to create an application password. See https://support.google.com/accounts/answer/185833?hl=en

for more information.

Activate IMAP

If you use an imap client such as Thunderbird to read email, you will need to activate the imap setting in Gmail. Go to http://www.gmail.com, log in, and click the gear or flower icon on the upper right corner of the Gmail window, and select “Mail settings”.  Under “Settings”, click “Forwarding and POP/IMAP”.  Then, in the box labelled “IMAP Access”, check the button beside “Enable IMAP”.  If you don’t use POP, make sure that option is not enabled.  Finally, click the “Save Changes” button at the bottom of the window; if you don’t, your changes will not be saved.

Configure Thunderbird to use Google as an incoming mail server

Configure your IMAP client with these settings:

Server Type:  IMAP Mail Server
Login:  yourlogin@cs-old.sites.unc.edu  (Be sure to include “@cs-old.sites.unc.edu”, or it won’t work.)
Server Name:  imap.googlemail.com
Port:  993
Connection security:  SSL/TLS  (Note:  If you use an old version of Thunderbird, just specify SSL.)
Authentication method:  Normal password

Configure Thunderbird to use Google as your outgoing mail server

Here are the settings to use if you want to use Google as your outgoing email server:

Server: smtp.googlemail.com
Port: 465
Connection security:  SSL/TLS  (Note:  If you use an old version of Thunderbird, just specify SSL.)
Authentication method:  Normal password
User Name:  yourlogin@cs-old.sites.unc.edu  (Be sure to include “@cs-old.sites.unc.edu”, or it won’t work.)