Bug 236790 - Regression: impossible to send emails
Summary: Regression: impossible to send emails
Status: CLOSED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: VHI normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: akonadi-ports-regression
Depends on:
Blocks: 223438
  Show dependency treegraph
 
Reported: 2010-05-08 00:17 UTC by Sabine Faure
Modified: 2010-07-25 15:06 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
my mailtransports file (373 bytes, text/plain)
2010-05-10 23:30 UTC, Sabine Faure
Details
My settings (25.80 KB, image/png)
2010-05-12 14:56 UTC, Sergio Martins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sabine Faure 2010-05-08 00:17:48 UTC
Version:            (using Devel)
Compiler:          gcc 4.3.2 
OS:                Linux
Installed from:    Compiled sources

- Launch Kmail
- Click on 'New' button
- Enter a recipient email address, a subject and a few lines
- Go to Message menu/Send Mail or click on 'Send' button
- The email window becomes greyed and after a few seconds an error message appears: 'There was an error trying to queue the message for sending. The error was: Append failed'
- Click on 'Ok'

The email window is closed but the email is not send at all whereas this should not happen.
This is a regression since yesterday I was able to send mail with rev 1123669

Trunk, Svn Rev 1124075
Comment 1 Thomas McGuire 2010-05-08 15:18:16 UTC
> 'There was an error trying to queue the message for sending. The error
> was: Append failed'

Sometimes in these cases, you can get more detailed error messages by looking at the console output (if you started Akonadi and KMail from a console).
Comment 2 Sergio Martins 2010-05-10 17:58:45 UTC
Sabine, can you post your ~/.kde4/share/config/mailtransports file?
Comment 3 Sabine Faure 2010-05-10 23:30:12 UTC
Created attachment 43444 [details]
my mailtransports file

Hi Sergio!

Here is the file you ask me for.

Trunk, Svn Rev 1125123
Comment 4 David Faure 2010-05-10 23:35:32 UTC
The message box doesn't come up anymore, but I see this in the logs:

Maildir: Failed to add entry:  "/home/sabine/.local/share/.local-mail.directory/outbox/new/{78d5f85e-940d-41d6-b3bc-b811703ce0c8}" !

Can't find much before that. There's a whole lot of nepomuk noise, and before that:
kmail(3420)/libakonadi Akonadi::SpecialCollections::hasCollection: Type "outbox" resourceId "akonadi_maildir_resource_11"
kmail(3420)/libakonadi Akonadi::SpecialCollectionsRequestJobPrivate::isEverythingReady: All requested folders already known.
Comment 5 Sabine Faure 2010-05-11 19:33:42 UTC
I retested this today and I do not the error message anymore however, the mail is still not sent at all. Here are the steps to reproduce:

- Launch Kmail
- Click on 'New' button
- Enter a recipient email address, a subject and a few lines
- Click on 'Send' button

The Composer dialogue closes but the email is not saved in the 'Sent-mail' folder or any other folder.

Moreover, the recipient never receives the email.

Please correct this bug as quickly as possible since it prevents me to test the composer dialogue properly.

Trunk, Svn Rev 1125510
Comment 6 Sabine Faure 2010-05-11 20:12:50 UTC
I reported bug #237279 about the fact that the email is not saved in the 'sent-email' folder.

Trunk, Svn Rev 1125510
Comment 7 Sergio Martins 2010-05-12 14:54:46 UTC
I made some fixes, which fixed my problems.

Please delete all smtp accounts and create a new one.

Look at the attachment and follow those settings.

(other settings might work too, but lets start with a config equal to mine)
Comment 8 Sergio Martins 2010-05-12 14:56:21 UTC
Created attachment 43514 [details]
My settings
Comment 9 Leo Franchi 2010-05-12 18:28:38 UTC
sabine, is the mail left in your outbox folder? If the mail is not sent (that is, if it never arrives at the destination) it should be in your Outbox folder. If it does arrive at the destination, it should be in the correct sent-mail folder (as of a few hours ago, this funtionality has been fixed).
Comment 10 Sabine Faure 2010-05-13 01:13:56 UTC
Thx Sergio! I followed your set up advice and the mail is sent fine now.

Leo, we've discussed this issue since then (thx for your help!).
The save in folder and the sending email are two separate issues. See bug #237279 for more details.

Trunk, Svn Rev 1125914
Comment 11 Sabine Faure 2010-05-14 16:00:35 UTC
This still doesn't work with r1126573. Mails are not sent and don't appear anywhere.

akonadi_maildispatcher_agent(6915)/libakonadi Akonadi::GetLockJob::Private::tim
eout: Timeout trying to get lock.
akonadi_maildispatcher_agent(6915)/libakonadi Akonadi::SpecialCollectionsReques
tJobPrivate::lockResult: Failed to get lock: "Timeout trying to get lock."
akonadi_maildispatcher_agent(6915) OutboxQueue::Private::localFoldersRequestRes
ult: Failed to get outbox folder.

After David restarted the akonadi_maildispatcher_agent by hand, it worked again, (some of) the queued mails were sent.
Comment 12 Sabine Faure 2010-05-17 21:51:46 UTC
This issue is definitively linked to Akonadi server.
I reported a different and more detailled bug report(see bug #237973) since this is not the same bug as before (regression).

I am closing this one.

Trunk, Svn Rev 1127799