Dangerous directories

Thunderbird Thunderbird अंतिम उद्दिनांकित किया गया: 51% of users voted this helpful
No one has helped translate this article yet. If you already know how localizing for SUMO works, start translating now. If you want to learn how to translate articles for SUMO, please start here.

Thunderbird (starting with version 24.0) will check whether a local directory used to store your mail, messages headers, and message filters for an account is a safe and valid location, normally within the profile folder. This can cause an alert like "The Local Directory path is not suitable for message storage", to avoid storing your data in a directory where an application or the operating system might accidentally delete it. For example, a directory where an application is installed or temporary files are stored. It is also possible for an add-on to specify dangerous locations.

Normally you will only run into this problem if you try to change where mail is stored, or you create a folder that has characters that might confuse Thunderbird. Thunderbird stores all of the mail for each folder in a file called a mbox file that is named after the folder, with no file extension. For example your inbox folder would be stored as "inbox.". If the folder name contains special characters used by the operating system (like '*', '\', '/', ':', '?', '>', '<', or "), the path to the mbox file (mail folder) can be ambiguous. Another potential problem might be using a folder name that is similar to a reserved file name such as "places.sqlite".

The local directory for a mail account is specified in Tools -> Account Settings -> account name -> Server Settings -> Local directory, near the browse button at the bottom of that window. The only allowed subdirectories in the profile are Mail, ImapMail and News (and subdirectories within them). The local directory is normally named after a mail server. For example, if you have a Gmail POP server it typically uses Mail\pop.googlemail.com. If you configure it to use a global inbox it uses Mail\Local Folders.

Some examples of a valid Local directory path:

   C:\Users\User\AppData\Roaming\Thunderbird\Profiles\12345678.default\Mail\pop.server2.com (Windows Vista, 7, 8, 8.1 and newer)
   D:\Data\MyEmails\pop.server3.com
   C:\Profiles\ 

Some examples of invalid locations:

   C:\WINDOWS
   C:\Program Files
   C:\Documents and Settings\User\Local Settings\Temp
   /tmp 

Whether a directory is a valid location depends upon your systems settings. For example, you could have a D:\Program Files directory if you booted Windows from drive D. Thunderbird will complain if you try to use the following locations:

Folder or Environment variable What it translates to Operating system
"ProfD" Profile directory All
"GreD" GRE (Gecko Runtime Environment) install directory All
"CurProcD"Thunderbird installation directory All
"TmpD"Operating System's temporary file directory All
"SysD"System directoryWindows
"WinD"Windows directoryWindows
"ProgF" Program Files or Program Files (x86) directoryWindows
"Trsh" Trash directoryOS X
"/System"System directoryOS X
"/dev"Devices directoryOS X and Linux
"/proc"Process info directoryLinux
"/sys"System state directoryLinux

क्या यह लेख उपकारी था?

Please wait...

These fine people helped write this article:

Illustration of hands

श्रमदान करें

Grow and share your expertise with others. Answer questions and improve our knowledge base.

Learn More