Bug 388828

Summary: Forward Redirect Fails
Product: [Applications] kmail2 Reporter: Allen Winter <winter>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Severity: normal CC: asturm, fgroups, manz
Priority: NOR    
Version: Git (master)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Allen Winter 2018-01-11 21:29:19 UTC
Sending email normally works fine.
But not when I try to forward->redirect.

I get the message "Failed to transport message. Server error"

console output follows:
org.kde.pim.maildispatcher: Item 165102 is accepted into the queue (size 275969 ).
org.kde.pim.maildispatcher: Attempting to dispatch the next message.
org.kde.pim.maildispatcher: Fetched item 165102 ; creating SendJob.
org.kde.pim.maildispatcher: Transporting message.
org.kde.pim.akonadiserver: Database "akonadi" opened using driver "QMYSQL"
org.kde.pim.mailtransport: "2089707915"
org.kde.pim.maildispatcher: Item 165102 is ignored.
org.kde.pim.mailtransport.smtpplugin: Login started
org.kde.pim.kmail_plugin: "Iterating over" 4 "collections."
org.kde.pim.maildispatcher: Item 165102 is ignored.
org.kde.pim.kmail_plugin: "Iterating over" 4 "collections."
org.kde.pim.akonadi_indexer_agent: indexed  11
org.kde.pim.ksmtp: TLS negotiation done.
org.kde.pim.kmail_plugin: "Iterating over" 4 "collections."
org.kde.pim.ksmtp: Trying authmod "PLAIN"
org.kde.pim.ksmtp: SASL_INTERACT Id 16385
org.kde.pim.ksmtp: SASL_INTERACT Id 16386
org.kde.pim.ksmtp: SASL_CB_[USER|AUTHNAME]: ' "allen" '
org.kde.pim.ksmtp: SASL_INTERACT Id 16388
org.kde.pim.ksmtp: SASL_CB_PASS: [hidden]
org.kde.pim.ksmtp: Trying authmod "PLAIN"
org.kde.pim.mailtransport.smtpplugin: Send started
org.kde.pim.mailtransport.smtpplugin: Removing session KSmtp::Session(0xc02cf0) from the pool
org.kde.pim.maildispatcher: success false message "Server error"
org.kde.pim.maildispatcher: Error transporting.
org.kde.pim.maildispatcher: success false message "Failed to transport message. Server error"
org.kde.pim.mailtransport.smtpplugin: clearing SMTP session pool 0
org.kde.pim.maildispatcher: Success storing result.
org.kde.pim.maildispatcher: Sending failed. error: "Failed to transport message. Server error"
org.kde.knotifications: Calling notify on "Popup"
org.kde.pim.maildispatcher: Empty queue.
org.kde.pim.maildispatcher: Item 165102 is queued to be sent manually.
org.kde.pim.maildispatcher: Item 165102 is queued to be sent manually.
org.kde.pim.ksmtp: Socket disconnected
Comment 1 Frank Noack 2018-01-12 12:05:14 UTC
I can confirm this failure on Gentoo, KDE Version 17.12.1
Comment 2 Frank Noack 2018-01-12 12:30:45 UTC
I'm a bit confused. Now it works without any changes in the system and without re-start.
Comment 3 Hartmut Manz 2018-01-18 16:35:26 UTC
I am using a recent kde nenon and get the same problem.
On my Server I can see that the problem is a empty from string.
Maybe this helps

My kmail is  4:17.12.1-0neon+16.04+xenial+build51 (5.7.1)
Comment 4 Allen Winter 2019-07-30 21:01:17 UTC
Still happening with current build from master:

Failed to transport message. Server error: 5.7.1 <DATA>: Data command rejected: Sender access denied
Comment 5 Allen Winter 2022-12-18 14:20:23 UTC
Still failing in version 5.22.1
"Failed to transport message. Server error: 5.7.1 <DATA>: Data command rejected: Could not find envelope sender user"
Comment 6 Allen Winter 2024-01-15 16:29:53 UTC
I realized I was redirecting using the wrong transport.

If I select the transport that's associated with the person I'm sending to then redirect works ok

I'm closing this as NOTABUG