Bug 93473 - kmail crashes when HOME runs out of free disk space and I try to send email
Summary: kmail crashes when HOME runs out of free disk space and I try to send email
Status: RESOLVED DUPLICATE of bug 50462
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-17 21:49 UTC by Marcin Kasperski
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Kasperski 2004-11-17 21:49:05 UTC
Version:            (using KDE KDE 3.2.3)
Installed from:    Debian testing/unstable Packages
OS:                Linux

(I noticed plenty of bugs related to behaviour when running out of the disk space but here I would like to concentrate on the email just being written)

The scenario:
- I write (fairly long) email
- I click 'Send' to send it
- kmail crashes
- when I run it again, it tells me that there is no space on disk and in fact I have 0 free bytes on disk in which $HOME is placed
- I can also check that the email has not been sent, has not been stored in drafts folder (what was possible, I use drafts on IMAP) - and is just completely lost. 

There are three separate things in this bug:

a) The crash itself. kmail should not crash when disk it full, instead it should just show some errorbox and KEEP THE MAIL EDIT WINDOW OPEN, so I can cleanup the disk a bit and return to the email being written, not loosing it.

b) When there are problems while sending email - whatever is their reason - kmail should try to preserve the email somehow. 'Somehow' means in particular attempt to store it in the drafts folder if it is possible (in my case it would save me - my drafts folder is on IMAP server so it was not hurt by the disk shortage, what killed Outbox as I guess) and maybe emergency sending it to myself.

c) (not-so-important) It is not clear for me why email can not be sent when there is no free disk space, SMTP communication does not require it.
Comment 1 Andrew Sharp 2005-02-09 13:04:07 UTC
For me, kmail does not crash, but gives the error message:
Sending failed:
Could not write file The message content was not accepted.
The server responded: "Message rejected"
This is a temporary failure. You may try again later..
Disk full.
The message will stay in the 'outbox' folder until you either fix the problem (e.g. a broken address) or remove the message from the 'outbox' folder.
The following transport protocol was used:

Several attempts need to be made to send the message, however short.
The /home directory has 78% available, 3GB, so disk space should not be an issue. 

I enjoy using KMail, but its inability to send mail is leaving me cold.

Please tell me what could have gone wrong or how this can be rectified.

Andrew Sharp
Comment 2 Carsten Burghardt 2005-02-09 14:06:14 UTC
> Sending failed:
> Could not write file The message content was not accepted.
> The server responded: "Message rejected"
> This is a temporary failure. You may try again later..
> Disk full.

This seems to be an error message of the server and not kmail so probably
the disk of the server is full.

Comment 3 Marcin Kasperski 2005-02-09 14:39:58 UTC
Probably Andrews' problem is different from mine, in my case I am 100% sure it was HOME what was full (and that the server was working correctly).

I back the suggestion that in Andrews' case the SMTP server disk is full and the problem has nothing related to kmail.
Comment 4 Thiago Macieira 2006-02-02 19:28:57 UTC

*** This bug has been marked as a duplicate of 50462 ***