Bug 254388 - No longer possible to send emails
Summary: No longer possible to send emails
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Mail Dispatcher Agent (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-16 18:39 UTC by Raymond Wooninck
Modified: 2011-06-21 16:30 UTC (History)
7 users (show)

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 Raymond Wooninck 2010-10-16 18:39:45 UTC
Version:           2.0.89 (using Devel) 
OS:                Linux

Since Thursday evening, the kmail2 version from SVN trunk is no longer capable of sending emails. In the settings/accounts/sending, I initially had "Never Automatically", "Send Now" options, but whatever I put there, emails are not send out. I tried to send them manually, but it seems that this command is completely ignored. Changing the setting to "On every Mailcheck", shows that there is not a single attempt to send the mail in the outbox. Just as if the folder does not exist. Retrieving emails works fine.

This behavior has been confirmed by two other people, one of them being Christophe Giboudeaux (IRC: krop). 

Reproducible: Always

Steps to Reproduce:
1. Create a new email
2. Send it. 

Actual Results:  
Email remains in the outbox, unsent.

Expected Results:  
Email is being send and a confirmation is given that the email has been send.
Comment 1 Raymond Wooninck 2010-10-16 18:49:02 UTC
When started from the konsole, kmail gives the following output: 

hq000006@HQVMT61003:/usr/lib64/chromium> kmail
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
hq000006@HQVMT61003:/usr/lib64/chromium> kmail2(16136)/kdepimlibs
(mailtransport): Could not access Outbox. 
kmail2(16136)/kdepimlibs (mailtransport)
MailTransport::SendQueuedAction::itemAccepted: Item doesn't have
DispatchModeAttribute. 
"KConfigIni: In file /usr/share/kde4/config/libkleopatrarc, line 42: " Invalid
entry (missing '=') 
kmail2(16136)/kdepimlibs (mailtransport)
MailTransport::SendQueuedAction::itemAccepted: Item doesn't have
DispatchModeAttribute.

I assume that the two errors regarding the DispatchModeAttribute are because of
the two emails in the outbox.
Comment 2 Alin M Elena 2010-10-16 20:35:16 UTC
me too...
Comment 3 Jeremy Whiting 2010-10-18 14:56:18 UTC
here I get the same thing, though it doesn't say "Could not access Outbox" as Raymond is getting.  Here's my console output.

kmail2(14619)/libakonadi Akonadi::MessageStatus::setStatusFromFlags: Unknown flag: "queued" 
kmail2(14619) KMKernel::slotProgressItemCompletedOrCanceled: Last resource finished syncing, mail check done
kmail2(14619) AkonadiSender::doSendQueued: Sending queued message with custom transport: ""
kmail2(14619)/kdepimlibs (mailtransport) Akonadi::FilterActionJob::doStart: Fetching collection 3
kmail2(14619)/kdepimlibs (mailtransport) Akonadi::FilterActionJob::Private::traverseItems: Traversing 2 items.
kmail2(14619)/kdepimlibs (mailtransport) Akonadi::FilterActionJob::Private::traverseItems: No subjobs; I am done
kmail2(14619)/kdepimlibs (mailtransport) MailTransport::DispatcherInterfacePrivate::massModifyResult: succeeded.
kmail2(14619) KMKernel::instanceStatusChanged: A Resource started to syncronize, starting a mail check.
kmail2(14619) KMKernel::slotProgressItemCompletedOrCanceled: Last resource finished syncing, mail check done
kmail2(14619) AkonadiSender::doSendQueued: Sending queued message with custom transport: ""
kmail2(14619)/kdepimlibs (mailtransport) Akonadi::FilterActionJob::doStart: Fetching collection 3
kmail2(14619)/kdepimlibs (mailtransport) Akonadi::FilterActionJob::Private::traverseItems: Traversing 2 items.
kmail2(14619)/kdepimlibs (mailtransport) Akonadi::FilterActionJob::Private::traverseItems: No subjobs; I am done
kmail2(14619)/kdepimlibs (mailtransport) MailTransport::DispatcherInterfacePrivate::massModifyResult: succeeded.
kmail2(14619) AkonadiSender::doSendQueued: Sending queued message with custom transport: ""
kmail2(14619)/kdepimlibs (mailtransport) Akonadi::FilterActionJob::doStart: Fetching collection 3
kmail2(14619)/kdepimlibs (mailtransport) Akonadi::FilterActionJob::Private::traverseItems: Traversing 2 items.
kmail2(14619)/kdepimlibs (mailtransport) Akonadi::FilterActionJob::Private::traverseItems: No subjobs; I am done
kmail2(14619)/kdepimlibs (mailtransport) MailTransport::DispatcherInterfacePrivate::massModifyResult: succeeded.
kmail2(14619) KMKernel::instanceStatusChanged: A Resource started to syncronize, starting a mail check.
kmail2(14619) KMKernel::slotProgressItemCompletedOrCanceled: Last resource finished syncing, mail check done
kmail2(14619) AkonadiSender::doSendQueued: Sending queued message with custom transport: ""
kmail2(14619)/kdepimlibs (mailtransport) Akonadi::FilterActionJob::doStart: Fetching collection 3
kmail2(14619)/kdepimlibs (mailtransport) Akonadi::FilterActionJob::Private::traverseItems: Traversing 2 items.
kmail2(14619)/kdepimlibs (mailtransport) Akonadi::FilterActionJob::Private::traverseItems: No subjobs; I am done
kmail2(14619)/kdepimlibs (mailtransport) MailTransport::DispatcherInterfacePrivate::massModifyResult: succeeded.


I currently have 2 messages in my outbox.
Comment 4 Samu Voutilainen 2010-10-19 10:49:40 UTC
Happens here too. 

...
"/usr/bin/kmail(28388)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
"/usr/bin/kmail(28388)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
"/usr/bin/kmail(28388)" Soprano: "Invalid iterator ID."
"/usr/bin/kmail(28388)" Soprano: "Invalid iterator ID."
"/usr/bin/kmail(28388)" Soprano: "Invalid iterator ID."
"/usr/bin/kmail(28388)" Soprano: "Invalid iterator ID."
"/usr/bin/kmail(28388)" Soprano: "Invalid iterator ID."
"/usr/bin/kmail(28388)" Soprano: "Invalid iterator ID."
kmail2(28388)/kdepimlibs (mailtransport) MailTransport::SendQueuedAction::itemAccepted: Item doesn't have DispatchModeAttribute. 
kmail2(28388)/kdepimlibs (mailtransport) MailTransport::SendQueuedAction::itemAccepted: Item doesn't have DispatchModeAttribute. 
kmail2(28388)/kdepimlibs (mailtransport) MailTransport::SendQueuedAction::itemAccepted: Item doesn't have DispatchModeAttribute.
Comment 5 Christophe Marin 2010-10-21 12:26:25 UTC
@Bertjan:

reverting the maildispatcheragent resource up to r1180915 fixes this issue. (=before your last merges)

Somehow, Akonadi doesn't like the maildispatcher being a plugin instead of an executable as claimed by the .desktop files:

PLUGINS inserting:  "akonadi_akonotes_resource" 5 ("Resource", "Notes") 
PLUGINS inserting:  "akonadi_birthdays_resource" 0 ("Resource", "Unique") 
PLUGINS inserting:  "akonadi_calendarsearch_agent" 0 ("Unique", "NoConfig") 
PLUGINS inserting:  "akonadi_contacts_resource" 3 ("Resource") 
PLUGINS inserting:  "akonadi_davgroupware_resource" 0 ("Resource") 
Executable "akonadi_ical_resource" for agent "akonadi_ical_resource" could not be found!
PLUGINS inserting:  "akonadi_imap_resource" 5 ("Resource") 
PLUGINS inserting:  "akonadi_invitations_agent" 0 ("NoConfig") 
PLUGINS inserting:  "akonadi_kabc_resource" 0 ("Resource") 
PLUGINS inserting:  "akonadi_kcal_resource" 0 ("Resource") 
PLUGINS inserting:  "akonadi_kdeaccounts_resource" 0 ("Resource") 
PLUGINS inserting:  "akonadi_kolabproxy_resource" 0 ("Resource", "Unique") 
PLUGINS inserting:  "akonadi_localbookmarks_resource" 0 ("Resource") 
PLUGINS inserting:  "akonadi_maildir_resource" 1 ("Resource") 
Executable "akonadi_maildispatcher_agent" for agent "akonadi_maildispatcher_agent" could not be found!
Executable "akonadi_mbox_resource" for agent "akonadi_mbox_resource" could not be found!
PLUGINS inserting:  "akonadi_microblog_resource" 0 ("Resource") 
PLUGINS inserting:  "akonadi_mixedmaildir_resource" 0 ("Resource") 
PLUGINS inserting:  "akonadi_mailtransport_dummy_resource" 0 ("Resource", "MailTransport") 
PLUGINS inserting:  "akonadi_nepomuk_calendar_feeder" 0 ("Unique", "NoConfig") 
PLUGINS inserting:  "akonadi_nepomuk_contact_feeder" 0 ("Unique", "Autostart", "NoConfig") 
PLUGINS inserting:  "akonadi_nepomuk_email_feeder" 0 ("Unique", "Search", "Autostart") 
PLUGINS inserting:  "akonadi_nepomuktag_resource" 0 ("Resource", "Virtual", "Unique", "NoConfig") 
PLUGINS inserting:  "akonadi_nntp_resource" 0 ("Resource") 
Executable "akonadi_notes_resource" for agent "akonadi_notes_resource" could not be found!
PLUGINS inserting:  "akonadi_openxchange_resource" 0 ("Resource") 
PLUGINS inserting:  "akonadi_pop3_resource" 0 ("Resource") 
PLUGINS inserting:  "akonadi_vcarddir_resource" 0 ("Resource") 
Executable "akonadi_vcard_resource" for agent "akonadi_vcard_resource" could not be found!
Comment 6 Raymond Wooninck 2010-10-21 15:53:16 UTC
The bug is fixed with commit 1188123.
Comment 7 Mark 2011-06-21 16:30:37 UTC
I still cant send mail in kmail2 (2.1.0, kde 4.6.4) 

My symptoms are like this: 
http://userbase.kde.org/KMail/FAQs_Hints_and_Tips#KMail2_doesn.27t_send_mail
I re-added the IMAP account for sending mail, readded the akonadi dispatcher agent, restarted akonadi and kmail but still cant send emails. 
All i get is: 
Could not initiate message transport. Possibly invalid transport.

Thanks, Mark