TWiki
>
Main Web
>
Computing
>
Mail
>
NestedIMAPFolders
(2017-07-25,
WilliamSeligman
)
(raw view)
E
dit
A
ttach
---++ Nested IMAP folders %TABLE{ tableborder="0" cellborder="0" valign="top"}% | <img src="%ATTACHURLPATH%/nestedFolders.gif" alt="nestedFolders.gif" width='326' height='644' /> | Most mail readers are capable of displaying nested IMAP folders, as shown to the left. However, they don't allow you to create the nested directory structure, only to display it; you have to use Linux commands to do it. <p> Here is how to set up a nested folder hierarchy in your IMAP folders. The steps are: <p><ul><li> Find the location of your [[IMAP mail files]]; click on that web link if you don't know where this is or how to find out. <p>It will probably be =/a/mail/folders/$user=, where =$user= is the name of your Nevis account. If the IMAP folder prefix in your mail is blank, then it will be that location, which is the default. <p><li>Login to the [[http://www.nevis.columbia.edu][Nevis Linux cluster]]. <p><li>You want to create subdirectories in your mail directory that correspond to the IMAP structure you want. <p>Let's use the example to the left (from %MAINWEB%.WilliamSeligman's mail reader) for the directory structure. I wanted the hierarchy =Neutrino/NuSOnG=, with an actual mail folder named =NuSOnG-general=. Assume that my mail is stored in =/a/mail/folders/seligman=. Then the commands to set this up might be: <p> =cd /a/mail/folders/seligman= <br> =mkdir Neutrino= <br> =cd Neutrino= <br> =mkdir !NuSOnG= <p><li>That sets up the containing folders, but it still doesn't set up the file that will contain the actual mail. The simplest way to set that up is to create it manually: <p> =cd !NuSOnG= <br> =touch !NuSOnG-general= <p><li>Restart your mail reader program <p><li>Depending on your mail reader, the above steps may have been sufficient. In the case of [[http://www.mozilla.com/thunderbird/][Thunderbird]], you'll still have to subscribe to the new mail file; select "Subscribe..." from the File menu, navigate to the file you created with =touch=, and click on that file's name. <p>(Actually, I did this step manually by editing my =.subscription= file, but do whatever is easiest for you.) <p><li>Once you've created the first mail file within a folder hierarchy, you'll be able to create new files within a folder from within your mail reader; e.g., in [[http://www.mozilla.com/thunderbird/][Thunderbird]], select "New..." then "Folder..." from the File menu. <p>Don't get confused! Your mail program will call all these structures "folders." As someone experienced with Linux, you know that your mail is actually stored in a text file.</ul>| -- Nevis.WilliamSeligman - 24 Dec 2008
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r5
<
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r5 - 2017-07-25
-
WilliamSeligman
Main
Log In
or
Register
Main Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
Webs
ATLAS
DOE
Main
TWiki
Veritas
Copyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback