The access key for accessibility features is 0. Press alt 0 to come back here at any time.

Access Keys:

Skip to content | Go to site-wide navigation bar | Go to the navigation list for this section

How do I manage my IMAP and AFS Folders in Pine?

Introduction

By default, Pine stores your folders (i.e. sent-mail, saved-messages, etc.) to your IMAP space on the email server. You are also given a local folder collection in your AFS home directory, in a directory called mail, for example:

/afs/umich.edu/user/l1/l2/uniqname/mail/sent-mail

where l1 and l2 are the first and second letters of your uniqname respectively.


Changing the Default Folder Collection

If you wish, you can configure Pine to only use AFS Folders, just as you could configure it to only use IMAP Folders. This is not recommended. It is preferred that users use their IMAP server space as their default folder collection to take advantage of the extra space on the email server. Using IMAP Folders frees up space in AFS for your personal files, and can help prevent you from going over quota.

You can, however, change which folder collection is used as the default. This is where Pine would save your folders and list your INBOX. See the following FAQ for more information:


Adding and Removing Folder Collections

If you would like to add a folder collection (e.g. to access IMAP folders on another server), follow these steps:

  1. Run Pine
  2. Type s for Setup
  3. Type L for Collection Lists
  4. Type a for Add Collection
  5. Enter a Nickname for your new collection (e.g. My ITCS Folders or My Exchange Folders)
  6. Next, enter a Server. In most cases, you will need to make sure you are using SSL to connect (e.g. mail.umich.edu/ssl or exchange.umich.edu/ssl)
  7. Type Ctrl-x to save your collection, and e to Exit

If you to remove a folder collection, follow these steps:

  1. Run Pine
  2. Type s for Setup
  3. Type L for Collection Lists
  4. Highlight the folder collection you want to remove
  5. Type d to Delete the collection
  6. Type e for Exit
  7. Quit and restart Pine


Moving Messages from One Folder Collection to Another

When you view your folder list, you should see entries for your AFS Folders (in mail/), IMAP Folders, and any other folder collections that you've added. Unfortunately, there is no easy way to move your folders from one collection to another. If you would like to move folders to a different folder collection, you will first need to create and name empty folders in that collection that match the folders you'd like to move, and then transfer the messages between these folders. To move messages between folders:

  1. Type m to go to the Main Menu
  2. Type s for Setup
  3. Type c for Config
  4. Type Ctrl-w for Whereis
  5. Type agg and press Enter. This will search for the enable-aggregate-command-set function
  6. Type x to select it
  7. Type e to Exit Setup and y to Save Changes
  8. Type i to go to your INBOX message list (or go into one of your folders, so you see the list of messages)
  9. Type ;
  10. Type a to Select All
  11. Type a and then s to Save the messages to a folder
  12. When Pine asks where you would like to save the messages, type Ctrl-T to obtain the list of folders. Pine will list your current folder collection, so you will need to press the < key to return to your folder collection list. Navigate your way into the proper destination folder, and press Enter.

These steps will need to be repeated for every folder you would like to move from one collection to another.