LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-27-2008, 10:00 AM   #1
donquixote1
Member
 
Registered: Aug 2007
Posts: 94

Rep: Reputation: 15
thunderbird cannot save messages


My system: Linux 2.6.26-2-pae i686 openSUSE 11.0.42 (i586) Alpha1
KDE: 3.5.9 "release 65.1"
Since the installation with the new release on June 19 of Suse 11.0 it is constantly impossible to save any e-mail messages with Thunderbird (and with Seamonkey Mail).
This is the message I constantly get in Thunderbird and Seamonkey Mail:
"Unable to save the message. Please check your file name and try again later".
The filename is e.g.: registration.eml (something thunderbird always and before in Suse 10.1 and 10.3 has saved without any problem).
There is also some error console in Thunderbird (cannot find something equal in Seamonkey Mail unfortunately, but presume this is about the same):
Error: uncaught exception: [Exception... "Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsIMessenger.saveAs]" nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)" location: "JS frame :: chrome://messenger/content/mailCommands.js :: SaveAsFile :: line 416" data: no]

This is the line 416 from the mailCommands.js file by the way:
messenger.saveAs(uri, true, null, filename);


What is the problem exactly and how can I change and solve this, I tried to open this file under root in a console, without result anyway (only signs with vim). Thanks for the solution.

Last edited by donquixote1; 07-27-2008 at 03:28 PM.
 
Old 07-28-2008, 07:40 AM   #2
KasMage
LQ Newbie
 
Registered: Jul 2008
Location: Indiana
Distribution: Mandriva 2008.1
Posts: 21

Rep: Reputation: 15
I assume that you're saving to a location you have permissions to write to, correct? It could be possible that the upgrade somehow messed with your permissions. I find it unlikely, but it can't hurt to check, right? Do an 'ls -all' in /home to see if your home directory is still owned by you and hasn't changed hands. This is assuming your home directory is where you're attempting to save it.
 
Old 07-29-2008, 03:58 AM   #3
donquixote1
Member
 
Registered: Aug 2007
Posts: 94

Original Poster
Rep: Reputation: 15
I did the syntaxis ls -all in /home, I saw with the necessary files drwxr-xr-x, also my file Email Messages drwxr-xr-x but the separate files in Email Messages are drwxr-xr-t and one (Temporal) drwxr-xr-x, but still it's impossible to save a message to this file Temporal, I never changed anything, but I think Suse 11.0 did something when installing. I only inserted (as before) my files (New File) and that's all.
How to solve now?
Thanks.
 
Old 07-29-2008, 08:07 AM   #4
KasMage
LQ Newbie
 
Registered: Jul 2008
Location: Indiana
Distribution: Mandriva 2008.1
Posts: 21

Rep: Reputation: 15
Your email messages folder isn't locaed directly under /home ("/home/Email Messages"), is it? If it is, it's probably owned by root. Who has ownership of the directory you are attempting to save this file to?

Just out of curiosity, do you have a reason for having the sticky bit set on "Email Messages"? Is everyone on your computer saving their e-mails to the same directory? Because if that's the case, you probably don't own that directory. It's probably owned by root, and that would mean that it shouldn't be set to drwxr-xr-t, it should be set to drwxrwxrwt (or 1777). But I don't see the purpose in everyone using the same directory for e-mail messages. Then your personal e-mails can be read by everyone else on your computer! But I suppose I can also see a purpose for that. What's important here is what your exact goal is. Do you want everyone saving their e-mails to the same directory, or do you intend to have it saved under your personal directory (/home/whatever your username is)?
 
Old 07-29-2008, 08:36 AM   #5
donquixote1
Member
 
Registered: Aug 2007
Posts: 94

Original Poster
Rep: Reputation: 15
Yeah, my file Emailmessages (in one name) is indeed in /home/peter/, so that is not the problem. It's like: peter@linux-12sh~:> and if I do e.g.
cd /home/peter/Emailberichten? (the Dutch word for Email messages), I'm into the file ~/Emailberichten/, then I do the syntaxis "ls -all" and this is the result:
(by the way, I changed some things)
ls -all
totaal 40
drwxr-xr-x 8 peter users 4096 jul 1 21:56 .
drwxr-xr-x 68 peter users 4096 jul 29 15:30 ..
drwxrwxrwx 4 peter users 12288 jul 26 15:37 inloggen
drwxrwxrwx 2 peter users 4096 jul 22 00:38 KL Trading
drwxrwxrwx 2 peter users 4096 jun 30 13:49 LinuxFoundation
drwxrwxrwx 2 peter users 4096 jun 30 13:49 PayPal
drwxrwxrwx 2 peter users 4096 jul 28 20:17 tijdelijk map vac
drwxrwxrwx 2 peter users 4096 jul 26 15:33 Varia_Email

you probably don't read Dutch, but that's not the problem, you see the result.
Now how can I set these files into drwxrwxrwt (or 1777), with e.g. chmod 755 or chmod 666 I get less results and certainly no drwxrwxrwt (or 1777). So how to create the end t instead of the end x

Thanks for your advice.
 
Old 07-29-2008, 08:41 AM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Last time Thunderbird failed to save messages for me I realized I had filled up my home partition, and had no free space..

http://kb.mozillazine.org/Unable_to_...to_the_mailbox

you could also try creating a new profile and see if you can store mail in the new profile.. if you can that would indicate your old mail files have been corrupted somehow.. I have had no issues with folder corruption since I enabled the auto compact function in Thunderbird.
 
Old 07-29-2008, 09:15 AM   #7
donquixote1
Member
 
Registered: Aug 2007
Posts: 94

Original Poster
Rep: Reputation: 15
I have sufficient space, so that is not the problem. I created a new file and still Thunderbird could not save a message to that new file, still the same problem.
Is Mozilla at the moment a bit incompatible with Suse 11.0? Some other programs are also a bit incompatible with Suse 11.0, some one informed me but it will be repaired as soon as possible.

Hope some can solve this.
By the way, is it necessary to encfs or not?
 
Old 07-29-2008, 10:03 PM   #8
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
I read the article as saying. if your mail is in an encfs folder, Thunderbird fails to save mail,One possible cause of the error you received per the Thunderbird KB.
 
Old 07-30-2008, 03:56 AM   #9
donquixote1
Member
 
Registered: Aug 2007
Posts: 94

Original Poster
Rep: Reputation: 15
No, I did not install encfs, I was just asking if this was needed, because I read something about encfs on the Mozilla site you indicated so there is no encfs in my system, I controlled it and I also have the possibility to control same in Smart, so there is no encfs.
How to solve now please?
Thanks.
 
Old 07-30-2008, 08:09 AM   #10
KasMage
LQ Newbie
 
Registered: Jul 2008
Location: Indiana
Distribution: Mandriva 2008.1
Posts: 21

Rep: Reputation: 15
According to one bug report I found (https://bugs.launchpad.net/ubuntu/+s...ird/+bug/90410) this may be caused by an e-mail that has a colon in it or an e-mail with the same name as one you've already saved. Is the e-mail you're attempting to save a Re: or Fwd: or anything else with a colon, or have you already got one message with the same title saved?

As for the sticky bit situation, I don't believe you actually want to set them to 1777. You had stated at one point that they already had the sticky bit set...

Quote:
also my file Email Messages drwxr-xr-x but the separate files in Email Messages are drwxr-xr-t
You may want it set, but I don't see an actual reason. But assuming you have actual ownership of that directory and those separate files, there's no reason it would harm you. But there is a slight chance that you don't have ownership. Thunderbird might be using some other account to save files. I doubt it, but it's a possibility worth noting. There is some weird stuff going on in your directory. For example, the fact that those directories in the listing you just posted are set to 777. Why would you want to give everybody full access to your directories?

If you want to set the sticky bit, just do this:

Code:
chmod 1xxx file
Replace the x's with whatever normal permissions you want (ex. 777 is full access for all, 700 is full access for owner, none for all else). The 1 will add the sticky bit. Replace 'file' with the file you wish to change. To change all files in a directory, just cd into it and replace 'file' with *. But again, I don't think you actually want to set sticky bit.
 
Old 07-30-2008, 10:51 AM   #11
donquixote1
Member
 
Registered: Aug 2007
Posts: 94

Original Poster
Rep: Reputation: 15
Now I changed everything in Email Messages # chmod 1700 file and then
# ls -all
totaal 40
drwxr-xr-x 8 peter users 4096 jul 1 21:56 .
drwxr-xr-x 69 peter users 4096 jul 30 17:37 ..
drwx-----T 4 peter users 12288 jul 26 15:37 inloggen
drwx-----T 2 peter users 4096 jul 29 17:11 KL Trading
drwx-----T 2 peter users 4096 jun 30 13:49 LinuxFoundation
drwx-----T 2 peter users 4096 jun 30 13:49 PayPal
drwx-----T 2 peter users 4096 jul 28 20:17 tijdelijk map vac
drwx-----T 2 peter users 4096 jul 26 15:33 Varia_Email
also Email messages is the same (drwx-----T) now, in which these directories can be found.
But it's still impossible to save any message, nor in a new directory.
I presume, as this is something in a java file mailCommands.js (see my first message), a bug by Suse 11.0, I know two other persons with Suse 11.0 with the exact same problem. I changed mailCommands.js in line 416 from no to yes in QuantaPlus - the copy of the file is - for safety reasons - in my home directory), but I can't copy it to /usr/lib/thunderbird/chrome/messenger.jar!/content/messenger, the file or directory does not exist, but if I open the error console this is the directory etc.
What can I do now?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I export messages from Thunderbird? forrest44 Linux - Software 4 05-31-2006 10:41 PM
evolution to thunderbird can i save my stuff? nephish Linux - Software 3 01-22-2006 07:45 PM
thunderbird: where are the email messages stored? novacrasher Linux - Software 2 02-18-2005 03:07 PM
thunderbird messages Smokey Linux - Software 4 09-06-2004 06:14 AM
Where does fetchmail save the messages gubak Linux - Networking 1 08-04-2004 06:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration